forum/docker-compose.override.yml

26 lines
812 B
YAML
Raw Normal View History

version: "3.4"
# Development environment override
services:
php:
build:
2023-07-31 14:21:06 +02:00
context: .
2023-09-20 16:53:05 +02:00
target: frankenphp_dev
volumes:
2023-09-20 16:53:05 +02:00
- ./:/app
- ./frankenphp/Caddyfile:/etc/caddy/Caddyfile:ro
- ./frankenphp/conf.d/app.dev.ini:/usr/local/etc/php/conf.d/app.dev.ini:ro
# 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:
2023-09-20 16:53:05 +02:00
#- /app/vendor
environment:
2023-09-20 16:53:05 +02:00
MERCURE_EXTRA_DIRECTIVES: demo
2023-07-31 14:21:06 +02:00
# See https://xdebug.org/docs/all_settings#mode
XDEBUG_MODE: "${XDEBUG_MODE:-off}"
extra_hosts:
# Ensure that host.docker.internal is correctly defined on Linux
- host.docker.internal:host-gateway
###> symfony/mercure-bundle ###
###< symfony/mercure-bundle ###