version: '3' services: httpd-registry: container_name: "httpd-registry" image: "httpd:2.4.57@sha256:5201524443f9026753e25540a44495b7f6e6ca706c71208bb3a5f2daac205c31" restart: always volumes: - uploads:/usr/local/apache2/htdocs/ - "{{ compose_dest_basedir }}/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro" ports: - 3344:80 labels: com.centurylinklabs.watchtower.enable: true python-api-server: container_name: httpd-api image: "registry.mgrote.net/python-api-server:latest@sha256:d02fa5d5ab0d2d722ed2ba90e91b32cabb6ae0abbc6d6e2fa62fe3e7b2a4ba46" 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('keepass', 'httpd-api-server-token', 'password') }}" ENABLE_WEBSERVER: false labels: com.centurylinklabs.watchtower.enable: true volumes: uploads: