Files
openproject/docker/dev/tls/docker-compose.core-override.example.yml
T
Eric Schubert 9eed6fb1be [#47625] Added TLS section to docker dev docs (#13007)
- added proxy stack
- amended README for docker development
- increased cert duration

---------

Co-authored-by: Pavel Balashou <ba1ashpash@gmail.com>
Co-authored-by: Yule <b.baedorf@openproject.com>
2023-07-05 12:49:12 +02:00

28 lines
867 B
YAML

services:
backend:
# The backend container needs some variables to be configured properly
environment:
OPENPROJECT_CLI_PROXY: '${OPENPROJECT_DEV_URL}'
OPENPROJECT_DEV_EXTRA_HOSTS: '${OPENPROJECT_DEV_HOST}'
OPENPROJECT_HTTPS: true
networks:
- external
frontend:
networks:
- external
# Those label interpreted by traefik to create the correct HTTP router
labels:
- "traefik.enable=true"
- "traefik.http.routers.openproject.rule=Host(`${OPENPROJECT_DEV_HOST}`)"
- "traefik.http.routers.openproject.entrypoints=websecure"
- "traefik.http.routers.openproject.tls=true"
- "traefik.http.routers.openproject.tls.certresolver=step"
# You need to define the same external network
# that is defined in the TLS proxy compose file
networks:
external:
name: gateway
external: true