-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml.dist
More file actions
93 lines (84 loc) · 3.13 KB
/
docker-compose.yaml.dist
File metadata and controls
93 lines (84 loc) · 3.13 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
services:
# devcontainer:
# extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
# file: ./docker/docker-compose.yaml
# service: devcontainer
# volumes:
# - $HOME/.ssh:/config/.ssh:ro # the SSH agent will need access to your configuration
# - $HOME/.npmrc:/config/.npmrc # necessary when installing packages from a private repository
# - $HOME/.config/composer/auth.json:/config/.config/composer/auth.json # necessary when installing packages from a private repository
# - $HOME/Development/profiling/${APP_NAME}:/tmp/xdebug # mount xdebug and cachegrind output for profiling analysis on host machine
# - ../:/app
mailpit:
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./docker/docker-compose.yaml
service: mailpit
# meilisearch:
# extends:
# file: ./docker/docker-compose.yaml
# service: meilisearch
# volumes:
# - meilisearch:/meili_data
mysql:
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./docker/docker-compose.yaml
service: mysql
volumes:
- mysql:/var/lib/mysql
# - $HOME/dbdump.sql:/docker-entrypoint-initdb.d/dbdump.sql # dbdump.sql is read on init and can be used to prepopulate the db
php: # frankenphp
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./docker/docker-compose.yaml
service: frankenphp
build:
args:
- PHP_VERSION=8.3
target: development
container_name: ${APP_NAME}-php
environment:
- XDEBUG_MODE=${PHP_XDEBUG_MODE:-off}
- XDEBUG_CONFIG=${PHP_XDEBUG_CONFIG:-client_host=host.docker.internal output_dir=/tmp/xdebug profiler_output_name=cachegrind.out.%R.%u}
depends_on:
# - meilisearch
- mysql
- redis
# - soketi
volumes:
- .:/app
# - $HOME/Development/profiling/${APP_NAME}:/tmp/xdebug # mount xdebug and cachegrind output for profiling analysis on host machine
phpmyadmin:
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./docker/docker-compose.yaml
service: phpmyadmin
depends_on:
- mysql
redis:
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./docker/docker-compose.yaml
service: redis
volumes:
- redis:/data
# soketi:
# extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
# file: ./docker/docker-compose.yaml
# service: soketi
# webgrind:
# extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
# file: ./docker/docker-compose.yaml
# service: webgrind
# volumes:
# - $HOME/Development/profiling/${APP_NAME}:/tmp
volumes:
# meilisearch:
# name: ${APP_NAME}-vol-meilisearch
# driver: local
mysql:
name: ${APP_NAME}-vol-mysql
driver: local
redis:
name: ${APP_NAME}-vol-redis
driver: local
networks:
default:
name: "${APP_NAME}-net"
driver: bridge