-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.override.yaml
49 lines (46 loc) · 1.44 KB
/
compose.override.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Development environment override
services:
frankenphp:
build:
context: ./symfony
target: frankenphp_dev
volumes:
- ./symfony/:/app
- ./symfony/docker/caddy/Caddyfile.dev:/etc/caddy/Caddyfile
# - ./docker/frankenphp/Caddyfile:/etc/caddy/Caddyfile:ro
- ./symfony/docker/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:
#- /app/vendor
environment:
# See https://xdebug.org/docs/all_settings#mode
XDEBUG_MODE: ${XDEBUG_MODE:-off}
XDEBUG_CONFIG: ${XDEBUG_CONFIG}
MAIL_UI_PORT: ${MAIL_UI_PORT:-8025}
PHP_IDE_CONFIG: ${PHP_IDE_CONFIG}
extra_hosts:
# Ensure that host.docker.internal is correctly defined on Linux
- host.docker.internal:host-gateway
tty: true
mailpit:
## "mailpit" as named container
image: axllent/mailpit
hostname: mail.${DOMAIN}
restart: unless-stopped
volumes:
- ./docker/mailpit/data:/data
ports:
- 8025:8025 # Web UI
- 1025:1025 # SMTP port
environment:
MP_MAX_MESSAGES: 5000
MP_DATABASE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
volumes:
vue_node_modules:
driver: local
driver_opts:
type: none
o: bind
device: ${PWD}/vue/node_modules