mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
# Development environment override
|
|
services:
|
|
php:
|
|
build:
|
|
context: .
|
|
target: frankenphp_dev
|
|
volumes:
|
|
- ./:/app
|
|
- ./frankenphp/Caddyfile:/etc/caddy/Caddyfile:ro
|
|
- ./frankenphp/conf.d/20-app.dev.ini:/usr/local/etc/php/app.conf.d/20-app.dev.ini:ro
|
|
- ./frankenphp/data:/data
|
|
environment:
|
|
MERCURE_EXTRA_DIRECTIVES: demo
|
|
# See https://xdebug.org/docs/all_settings#mode
|
|
XDEBUG_MODE: "${XDEBUG_MODE:-off}"
|
|
MAILER_DSN: "smtp://mailer:1025"
|
|
extra_hosts:
|
|
# Ensure that host.docker.internal is correctly defined on Linux
|
|
- host.docker.internal:host-gateway
|
|
tty: true
|
|
|
|
###> symfony/mercure-bundle ###
|
|
###< symfony/mercure-bundle ###
|
|
|
|
###> doctrine/doctrine-bundle ###
|
|
database:
|
|
ports:
|
|
- "5432:5432"
|
|
###< doctrine/doctrine-bundle ###
|
|
|
|
###> symfony/mailer ###
|
|
mailer:
|
|
image: axllent/mailpit
|
|
ports:
|
|
- "1025"
|
|
- "8025"
|
|
environment:
|
|
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
|
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
|
###< symfony/mailer ###
|