-
-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
31 lines (29 loc) · 781 Bytes
/
docker-compose.yaml
File metadata and controls
31 lines (29 loc) · 781 Bytes
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
services:
mysql:
platform: linux/x86_64
image: mysql:5.7
ports:
- "3307:3306"
environment:
MYSQL_ROOT_PASSWORD: 1234
postgres:
image: postgres:15
environment:
POSTGRES_DB: zenstruck_foundry
POSTGRES_PASSWORD: zenstruck
POSTGRES_USER: zenstruck
ports:
- "5433:5432"
healthcheck:
test: 'pg_isready -d zenstruck_foundry'
timeout: 120s
retries: 60
interval: 2s
mongo:
image: mongo:4
ports:
- "27018:27017"
healthcheck:
test: echo 'db.runCommand("ping").ok' | mongo mongo:27017/test --quiet
timeout: 10s
retries: 10