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

15 lines
498 B
YAML
Raw Normal View History

2023-04-12 16:16:35 +02:00
version: '3'
services:
2023-04-12 16:28:25 +02:00
python-api-server:
2023-04-13 11:34:16 +02:00
image: quotengrote/python-api-server:latest
2023-04-12 16:16:35 +02:00
ports:
2023-04-12 16:28:25 +02:00
- "5040:5000"
2023-04-12 16:16:35 +02:00
volumes:
2023-04-13 11:40:10 +02:00
- ./uploads:/uploads
2023-04-13 11:29:47 +02:00
environment:
2023-04-13 12:37:15 +02:00
# FLASK_DEBUG: 1 # for debugging
# FLASK_APP: app # for debugging
MAX_CONTENT_LENGTH: 10 # in MB; default 5MB
2023-04-13 12:36:54 +02:00
UPLOAD_DIRECTORY: /uploads # where to store the uploaded files; should be mapped to a docker volume; default "/uploads"
2023-04-13 12:37:15 +02:00
AUTH_TOKEN: myuploadtoken # token used for authenticating