2022-08-25 22:22:11 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
httpd-registry:
|
|
|
|
container_name: "httpd-registry"
|
|
|
|
image: httpd:bullseye
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2023-04-14 12:20:34 +02:00
|
|
|
- uploads:/usr/local/apache2/htdocs/
|
2022-08-25 22:22:11 +02:00
|
|
|
- "${PWD}/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro"
|
|
|
|
ports:
|
|
|
|
- 3344:80
|
2023-03-21 19:00:37 +01:00
|
|
|
labels:
|
|
|
|
- com.centurylinklabs.watchtower.enable=true
|
2023-04-14 12:20:34 +02:00
|
|
|
|
|
|
|
python-api-server:
|
|
|
|
container_name: httpd-api
|
|
|
|
image: quotengrote/python-api-server:latest
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "5040:5000"
|
|
|
|
volumes:
|
|
|
|
- uploads:/uploads
|
|
|
|
environment:
|
|
|
|
# FLASK_DEBUG: 1 # for debugging
|
|
|
|
# FLASK_APP: app # for debugging
|
|
|
|
MAX_CONTENT_LENGTH: 50
|
|
|
|
UPLOAD_DIRECTORY: /uploads
|
|
|
|
AUTH_TOKEN: {{ lookup('keepass', 'httpd-api-server-token', 'password') }}
|
|
|
|
labels:
|
|
|
|
- com.centurylinklabs.watchtower.enable=true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
uploads:
|