diff --git a/compose.override.yaml b/compose.override.yaml index 39e7701097..3efd047eef 100644 --- a/compose.override.yaml +++ b/compose.override.yaml @@ -12,14 +12,27 @@ 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: 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: @@ -43,3 +56,7 @@ services: ###> symfony/mercure-bundle ### ###< symfony/mercure-bundle ### + +networks: + stonehenge-network: + external: true