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

19 lines
401 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 14:24:40 +02:00
container_name: httpd-api
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 13:38:23 +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
2023-04-13 14:50:46 +02:00
MAX_CONTENT_LENGTH: 10
UPLOAD_DIRECTORY: /uploads
AUTH_TOKEN: myuploadtoken
2023-04-13 13:51:45 +02:00
volumes:
uploads: