python-api-server/docker-compose.yml

14 lines
380 B
YAML

version: '3'
services:
python-api-server:
image: quotengrote/python-api-server:latest
ports:
- "5040:5000"
volumes:
- ./uploads:/uploads
environment:
FLASK_DEBUG: 1
FLASK_APP: app
AUTH_TOKEN: myuploadtoken
UPLOAD_DIRECTORY: /uploads # where to store the uploaded files; should be mapped to a docker volume; default "/uploads"