Files
openproject/docker/dev/tls/docker-compose.override.example.yml
T
Jan Sandbrink 827f577c85 Allow to change TLD for docker dev stack
Instead of assuming that the TLD is .local, we allow
to overwrite it with different TLDs, so that the local setup
can be adapted to developer needs.
2026-01-27 13:05:19 +01:00

21 lines
837 B
YAML

services:
traefik:
# Overwrite to enable Let's encrypt instead of using Step CA for certificate generation
# command: >
# --entryPoints.websecure.http.tls.certresolver=letsencrypt
# --certificatesresolvers.letsencrypt.acme.email=you@example.com
# For step CA only: Overwrite trusted CA certificates with Step root CA (not needed for Let's encrypt)
environment:
- LEGO_CA_CERTIFICATES=/step/certs/root_ca.crt
# Necessary for certificates via Step CA only
depends_on:
step:
condition: service_healthy
# Enabling traefik for the traefik container itself will give you access to the Traefik Dashboard, which can be a useful
# tool to inspect whether everything is working fine. It's not advised to publicly expose this dashboard.
labels:
- "traefik.enable=true"