Files
kbcrm/docker-compose.base.yaml
T

29 lines
670 B
YAML

name: kbpbase
services:
nginx-proxy:
build:
context: . # Build context im root, damit Client/ und NGINX_Server/ verfügbar sind
dockerfile: NGINX_Server/Dockerfile
args:
NGINX_VERSION: ${NGINX_VERSION}
ports:
- ${NGINX_HOST_PORT}:4430
volumes:
- ${NGINX_CONFIG_TEMPLATE_DIR}:/etc/nginx/templates
- ${NGINX_CERTS}:/etc/certs
env_file:
- .env
pythonapp:
build:
context: App_Server
args:
PYTHON_VERSION: ${PYTHON_VERSION}
env_file:
- .env
volumes:
- ${PYTHON_DB_DIR}:/usr/var/pythonappdb
- python-venv:/usr/opt/pythonapp/env
volumes:
python-venv: