-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
72 lines (68 loc) · 1.74 KB
/
compose.dev.yml
File metadata and controls
72 lines (68 loc) · 1.74 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
services:
postgres:
image: postgres:17.6-alpine3.21
container_name: postgres_dev
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
volumes:
- postgres_data_dev:/var/lib/postgresql/data
ports:
- "127.0.0.1:5432:5432"
restart: always
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: redis_dev
ports:
- "127.0.0.1:6379:6379"
restart: always
command: redis-server --appendonly yes
volumes:
- redis_data_dev:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
meilisearch:
image: getmeili/meilisearch:v1.16
container_name: meilisearch_dev
ports:
- "127.0.0.1:7700:7700"
restart: always
environment:
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
- MEILI_ENV=production
volumes:
- meilisearch_data_dev:/meili_data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7700/health"]
interval: 5s
timeout: 3s
retries: 5
manager:
depends_on:
postgres:
condition: service_healthy
image: ghcr.io/vvip-kitchen/boo-manager:latest
container_name: manager_dev
restart: always
ports:
- "127.0.0.1:8080:8080"
environment:
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=${POSTGRES_USER}
- DB_PASSWORD=${POSTGRES_PASSWORD}
- DB_NAME=${POSTGRES_DB}
- MANAGER_API_TOKEN=${MANAGER_API_TOKEN}
volumes:
postgres_data_dev:
redis_data_dev:
meilisearch_data_dev: