add volume
This commit is contained in:
parent
f576ec6b1b
commit
089351e77e
1 changed files with 3 additions and 1 deletions
|
@ -5,10 +5,12 @@ services:
|
|||
ports:
|
||||
- "5040:5000"
|
||||
volumes:
|
||||
- ./uploads:/uploads
|
||||
- uploads:/uploads
|
||||
environment:
|
||||
# FLASK_DEBUG: 1 # for debugging
|
||||
# FLASK_APP: app # for debugging
|
||||
MAX_CONTENT_LENGTH: 10 # in MB; default 5MB
|
||||
UPLOAD_DIRECTORY: /uploads # where to store the uploaded files; should be mapped to a docker volume; default "/uploads"
|
||||
AUTH_TOKEN: myuploadtoken # token used for authenticating
|
||||
volumes:
|
||||
uploads:
|
||||
|
|
Reference in a new issue