diff --git a/compose.override.yaml b/compose.override.yaml index 39ec9b0c48..c1858aa8b0 100644 --- a/compose.override.yaml +++ b/compose.override.yaml @@ -12,15 +12,28 @@ services: # If you develop on Mac or Windows you can remove the vendor/ directory # from the bind-mount for better performance by enabling the next line: #- /app/vendor + ports: !reset [] environment: FRANKENPHP_WORKER_CONFIG: watch MERCURE_EXTRA_DIRECTIVES: demo # See https://xdebug.org/docs/all_settings#mode XDEBUG_MODE: "${XDEBUG_MODE:-off}" + # This makes Traefik work + SERVER_NAME: :80 extra_hosts: # Ensure that host.docker.internal is correctly defined on Linux - host.docker.internal:host-gateway tty: true + labels: + traefik.enable: "true" + traefik.http.routers.ap-caddy.entrypoints: https + traefik.http.routers.ap-caddy.rule: Host(`${SERVER_NAME}`) + traefik.http.routers.ap-caddy.tls: "true" + traefik.http.services.ap-caddy.loadbalancer.server.port: 80 + traefik.docker.network: stonehenge-network + networks: + - stonehenge-network + - default pwa: build: @@ -44,3 +57,7 @@ services: ###> symfony/mercure-bundle ### ###< symfony/mercure-bundle ### + +networks: + stonehenge-network: + external: true