-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
142 lines (138 loc) · 3.37 KB
/
compose.yaml
File metadata and controls
142 lines (138 loc) · 3.37 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
name: istic-manage
services:
laravelbase:
build:
context: ./vendor/laravel/sail/runtimes/8.4
dockerfile: Dockerfile
args:
WWWGROUP: '${WWWGROUP}'
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
WWWUSER: "${WWWUSER}"
LARAVEL_SAIL: 1
volumes:
- ".:/var/www/html"
networks:
- sail
deploy:
replicas: 0
application:
image: istic-manage-laravelbase
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "${APP_PORT:-80}:80"
- "${VITE_PORT:-5173}:5173"
environment:
WWWUSER: "${WWWUSER}"
LARAVEL_SAIL: 1
XDEBUG_MODE: "${SAIL_XDEBUG_MODE:-off}"
XDEBUG_CONFIG: "${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}"
IGNITION_LOCAL_SITES_PATH: "${PWD}"
volumes:
- ".:/var/www/html"
- "./docker/supervisord.conf:/etc/supervisor/conf.d/supervisord.conf"
networks:
sail:
aliases:
- istic-manage
depends_on:
- redis
- mailpit
# reverb:
# image: istic-manage-laravelbase
# command: php artisan reverb:start --host=0.0.0.0 --port=8080
# working_dir: /var/www/html
# ports:
# - "${REVERB_SERVER_PORT:-8080}:8080"
# environment:
# WWWUSER: "${WWWUSER}"
# LARAVEL_SAIL: 1
# REDIS_HOST: redis
# volumes:
# - ".:/var/www/html"
# networks:
# - sail
# depends_on:
# redis:
# condition: service_healthy
# restart: unless-stopped
# horizon:
# image: istic-manage-laravelbase
# command: php artisan horizon
# working_dir: /var/www/html
# environment:
# WWWUSER: "${WWWUSER}"
# LARAVEL_SAIL: 1
# REDIS_HOST: redis
# REVERB_APP_ID: "${REVERB_APP_ID}"
# REVERB_APP_KEY: "${REVERB_APP_KEY}"
# REVERB_APP_SECRET: "${REVERB_APP_SECRET}"
# REVERB_HOST: reverb
# REVERB_PORT: "${REVERB_SERVER_PORT:-8080}"
# REVERB_SCHEME: http
# volumes:
# - ".:/var/www/html"
# networks:
# - sail
# depends_on:
# redis:
# condition: service_healthy
# restart: unless-stopped
redis:
healthcheck:
retries: 3
test:
- CMD
- redis-cli
- ping
timeout: 5s
image: redis:alpine
networks:
- sail
ports:
- ${FORWARD_REDIS_PORT:-6379}:6379
volumes:
- source: sail-redis
target: /data
type: volume
volume: {}
mailpit:
image: "axllent/mailpit:latest"
ports:
- "${FORWARD_MAILPIT_PORT:-1025}:1025"
- "${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025"
networks:
- sail
ngrok:
build:
context: "./docker/ngrok"
dockerfile: Dockerfile
image: "sail-ngrok/app"
entrypoint: ["/var/www/html/bin/start-ngrok.sh"]
ports:
- "4040:4040"
environment:
DOCKER: "true"
NGROK_AUTHTOKEN: "${NGROK_AUTHTOKEN}"
NGROK_URL: "${NGROK_URL}"
NGROK_WS_URL: "${NGROK_WS_URL}"
REVERB_SERVER_PORT: "${REVERB_SERVER_PORT:-8080}"
volumes:
- ".:/var/www/html"
- "./ngrok.example.yaml:/var/www/html/ngrok.example.yaml"
networks:
- sail
depends_on:
- application
extra_hosts:
- "application:host-gateway"
networks:
sail:
driver: bridge
name: istic-manage_sail
volumes:
sail-redis:
driver: local
name: istic-manage_sail-redis