-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
75 lines (67 loc) · 2.44 KB
/
docker-compose.yaml
File metadata and controls
75 lines (67 loc) · 2.44 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
services:
devcontainer:
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./base/docker-compose.yaml
service: devcontainer
mailpit:
container_name: ${APP_NAME}-mailpit
healthcheck:
test: ["CMD", "curl", "-Ss", "http://localhost:8025/livez"]
retries: 3
timeout: 5s
image: axllent/mailpit:latest
ports:
- ${FORWARD_MAILPIT_PORT:-1025}:1025
- ${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025
restart: unless-stopped
meilisearch:
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./base/docker-compose.yaml
service: meilisearch
mysql:
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./base/docker-compose.yaml
service: mysql
# TODO: timezone is probably still set to UTC
frankenphp: # PHP 8.2+
build:
context: .
dockerfile: ./frankenphp/Dockerfile
container_name: ${APP_NAME}-frankenphp
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}
extra_hosts:
- "host.docker.internal:host-gateway" # for accessing the host from inside the container
ports:
- ${FORWARD_PHP_HTTP_PORT:-80}:80
- ${FORWARD_PHP_HTTPS_PORT:-443}:443
restart: unless-stopped
working_dir: /app
phpmyadmin:
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./base/docker-compose.yaml
service: phpmyadmin
redis:
extends: # see: https://docs.docker.com/compose/how-tos/multiple-compose-files/extends/
file: ./base/docker-compose.yaml
service: redis
soketi:
container_name: ${APP_NAME}-soketi
environment:
- SOKETI_DEBUG=${SOKETI_DEBUG:-1}
- SOKETI_METRICS_SERVER_PORT=${SOKETI_METRICS_SERVER_PORT:-9601}
- SOKETI_DEFAULT_APP_ID=${PUSHER_APP_ID}
- SOKETI_DEFAULT_APP_KEY=${PUSHER_APP_KEY}
- SOKETI_DEFAULT_APP_SECRET=${PUSHER_APP_SECRET}
image: quay.io/soketi/soketi:latest
ports:
- ${PUSHER_FRONTEND_PORT:-6001}:6001
- ${PUSHER_METRICS_PORT:-9601}:9601
restart: unless-stopped
webgrind:
container_name: ${APP_NAME}-webgrind
image: jokkedk/webgrind:latest
ports:
- ${FORWARD_WEBGRIND_PORT:-8080}:80
restart: unless-stopped