18 lines
401 B
YAML
18 lines
401 B
YAML
version: '3'
|
|
services:
|
|
python-api-server:
|
|
container_name: httpd-api
|
|
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
|
|
UPLOAD_DIRECTORY: /uploads
|
|
AUTH_TOKEN: myuploadtoken
|
|
|
|
volumes:
|
|
uploads:
|