Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stonehenge support using latest Docker Compose spec #4

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions compose.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -43,3 +56,7 @@ services:

###> symfony/mercure-bundle ###
###< symfony/mercure-bundle ###

networks:
stonehenge-network:
external: true
Loading