forked from adrianlzt/docker-nginx-php-upload
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7681bb
commit 6bb0cca
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
# docker-nginx-php-upload | ||
|
||
Example execution: | ||
|
||
``` | ||
docker run --rm -it -v "$PWD/data:/data" -p 32773:80 adrianlzt/docker-nginx-php-upload | ||
docker run --rm -it -v "$PWD/uploads:/uploads" -p 32773:80 ghcr.io/fabalexsie/simple-web-upload-docker:master | ||
``` | ||
|
||
or via compose.yml: See [docker-compose.yml](docker-compose.yml) | ||
|
||
Go to http://localhost:32773 to upload files. | ||
|
||
Files will be uploaded to /data/uploads | ||
Files will be uploaded to ./uploads | ||
|
||
Upload limit size: 10000MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
services: | ||
app: | ||
build: . # when the repo is cloned and the Dockerfile is in the root | ||
# when using directly from the github hub | ||
# image: ghcr.io/fabalexsie/simple-web-upload-docker:master | ||
ports: | ||
- "32773:80" | ||
volumes: | ||
- ./uploads:/var/www/html/uploads |