homeserver/docker-compose/httpd/docker-compose.yml.j2
Michael Grote 4e8b579f3b
Some checks failed
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline failed
remove unnecessary healthchecks: httpd + mail-relay
2024-07-30 22:44:55 +02:00

30 lines
824 B
Django/Jinja

version: '3'
services:
httpd-registry:
container_name: "httpd-registry"
image: "registry.mgrote.net/httpd:latest"
restart: always
volumes:
- uploads:/usr/local/apache2/htdocs/
- "{{ compose_dest_basedir }}/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro"
ports:
- 3344:80
python-api-server:
container_name: httpd-api
image: "registry.mgrote.net/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: 500
UPLOAD_DIRECTORY: /uploads
AUTH_TOKEN: "{{ lookup('viczem.keepass.keepass', 'httpd-api-server-token', 'password') }}"
ENABLE_WEBSERVER: false
volumes:
uploads: