-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.04 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
services:
mongodb:
image: mongo:7.0
container_name: skillpath-mongodb
restart: unless-stopped
ports:
- "27017:27017"
environment:
MONGO_INITDB_DATABASE: skillpath
volumes:
- mongodb_data:/data/db
- mongodb_config:/data/configdb
networks:
- skillpath-network
minio:
image: minio/minio:latest
container_name: skillpath-minio
restart: unless-stopped
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: skillpath
MINIO_ROOT_PASSWORD: skillpath123
MINIO_BROWSER_REDIRECT_URL: http://localhost:9001
volumes:
- minio_data:/data
command: server /data --console-address ":9001"
networks:
- skillpath-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
volumes:
mongodb_data:
driver: local
mongodb_config:
driver: local
minio_data:
driver: local
networks:
skillpath-network:
driver: bridge