Repository navigation
Expand file tree
/
Copy pathdocker-compose-prod.yml
More file actions
101 lines (101 loc) · 2.17 KB
/
Copy pathdocker-compose-prod.yml
File metadata and controls
101 lines (101 loc) · 2.17 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
services:
web:
image: ghcr.io/rpungello/laravel-nginx:franken-reverb
ports:
- "${WEB_PORT:-80}:80"
restart: unless-stopped
depends_on:
- app
app:
image: ghcr.io/rpungello/webhook-tester:latest
restart: unless-stopped
env_file: .env
worker:
image: ghcr.io/rpungello/webhook-tester:latest
restart: unless-stopped
env_file: .env
entrypoint:
- 'php'
- 'artisan'
- 'horizon'
scheduler:
image: ghcr.io/rpungello/webhook-tester:latest
env_file: .env
restart: unless-stopped
entrypoint:
- 'php'
- 'artisan'
- 'schedule:work'
reverb:
image: ghcr.io/rpungello/webhook-tester:latest
expose:
- 8080
env_file: .env
entrypoint:
- 'php'
- 'artisan'
- 'reverb:start'
restart: unless-stopped
mysql:
image: 'mysql/mysql-server:8.0'
restart: unless-stopped
ports:
- '${FORWARD_DB_PORT:-3306}:3306'
environment:
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
MYSQL_ROOT_HOST: '%'
MYSQL_DATABASE: '${DB_DATABASE}'
MYSQL_USER: '${DB_USERNAME}'
MYSQL_PASSWORD: '${DB_PASSWORD}'
MYSQL_ALLOW_EMPTY_PASSWORD: 1
volumes:
- 'mysql:/var/lib/mysql'
healthcheck:
test:
- CMD
- mysqladmin
- ping
- '-p${DB_PASSWORD}'
retries: 3
timeout: 5s
redis:
image: 'redis:alpine'
restart: unless-stopped
expose:
- '6379'
ports:
- '${FORWARD_REDIS_PORT:-6379}:6379'
volumes:
- 'redis:/data'
healthcheck:
test:
- CMD
- redis-cli
- ping
retries: 3
timeout: 5s
meilisearch:
image: 'getmeili/meilisearch:v1.9'
restart: unless-stopped
ports:
- '${FORWARD_MEILISEARCH_PORT:-7700}:7700'
environment:
MEILI_NO_ANALYTICS: '${MEILISEARCH_NO_ANALYTICS:-false}'
volumes:
- 'meilisearch:/meili_data'
healthcheck:
test:
- CMD
- wget
- '--no-verbose'
- '--spider'
- 'http://127.0.0.1:7700/health'
retries: 3
timeout: 5s
volumes:
mysql:
driver: local
redis:
driver: local
meilisearch:
driver: local