2020-10-14 23:03:21 +02:00
|
|
|
# Development environment override
|
|
|
|
services:
|
|
|
|
php:
|
2022-08-04 14:47:59 +02:00
|
|
|
build:
|
2023-07-31 14:21:06 +02:00
|
|
|
context: .
|
2023-09-20 16:53:05 +02:00
|
|
|
target: frankenphp_dev
|
2020-10-14 23:03:21 +02:00
|
|
|
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
|
2022-08-05 14:37:06 +02:00
|
|
|
# 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
|
2020-10-14 23:03:21 +02:00
|
|
|
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
|
2022-08-04 14:47:59 +02:00
|
|
|
XDEBUG_MODE: "${XDEBUG_MODE:-off}"
|
|
|
|
extra_hosts:
|
|
|
|
# Ensure that host.docker.internal is correctly defined on Linux
|
|
|
|
- host.docker.internal:host-gateway
|
2023-10-26 14:49:28 +02:00
|
|
|
tty: true
|
2020-10-14 23:03:21 +02:00
|
|
|
|
2021-10-13 22:28:04 +02:00
|
|
|
###> symfony/mercure-bundle ###
|
|
|
|
###< symfony/mercure-bundle ###
|