This repository has been archived on 2024-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
python-api-server/docker-compose.yml

13 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"