-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
88 lines (83 loc) · 2.16 KB
/
Copy pathdocker-compose.yml
File metadata and controls
88 lines (83 loc) · 2.16 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
services:
postgres:
image: pgvector/pgvector:pg17-trixie
container_name: mercato-postgres-module
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: ${POSTGRES_DB:-open-mercato}
ports:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
interval: 10s
timeout: 5s
retries: 5
networks:
- mercato-network
redis:
image: redis:7-alpine
container_name: mercato-redis-module
ports:
- "${REDIS_PORT:-6379}:6379"
volumes:
- redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
networks:
- mercato-network
meilisearch:
image: getmeili/meilisearch:v1.11
container_name: mercato-meilisearch-module
restart: unless-stopped
environment:
MEILI_ENV: development
MEILI_MASTER_KEY: ${MEILISEARCH_MASTER_KEY:-meilisearch-dev-key}
MEILI_NO_ANALYTICS: "true"
ports:
- "${MEILISEARCH_PORT:-7700}:7700"
volumes:
- meilisearch_data:/meili_data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7700/health"]
interval: 10s
timeout: 5s
retries: 5
networks:
- mercato-network
verdaccio:
image: verdaccio/verdaccio:5
container_name: official-modules-verdaccio
ports:
- "4873:4873"
volumes:
- verdaccio_storage:/verdaccio/storage
- verdaccio_conf:/verdaccio/conf
environment:
VERDACCIO_APPDIR: /verdaccio
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:4873/-/ping"]
interval: 5s
timeout: 3s
retries: 20
networks:
- mercato-network
volumes:
postgres_data:
name: mercato-postgres-module-data
redis_data:
name: mercato-redis-module-data
meilisearch_data:
name: mercato-meilisearch-module-data
verdaccio_storage:
verdaccio_conf:
networks:
mercato-network:
name: mercato-network
driver: bridge