python-api-server/docker-compose.yml
2023-04-13 12:37:15 +02:00

15 lines
498 B
YAML

version: '3'
services:
python-api-server:
image: quotengrote/python-api-server:latest
ports:
- "5040:5000"
volumes:
- ./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