Skip to content

Commit

Permalink
Update readme and add compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
fabalexsie committed May 29, 2024
1 parent c7681bb commit 6bb0cca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
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
9 changes: 9 additions & 0 deletions compose.yml
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

0 comments on commit 6bb0cca

Please sign in to comment.