-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
56 lines (52 loc) · 1.16 KB
/
compose.dev.yml
File metadata and controls
56 lines (52 loc) · 1.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
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: cloud
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
registry:
build:
context: ./registry
dockerfile: Dockerfile
ports:
- "5000:5000"
volumes:
- registry-data:/var/lib/registry
restart: unless-stopped
victoria-logs:
image: victoriametrics/victoria-logs:latest
ports:
- "9428:9428"
volumes:
- victoria-logs-data:/vlogs
command:
- "-storageDataPath=/vlogs"
- "-retentionPeriod=7d"
restart: unless-stopped
minio:
image: minio/minio:latest
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
volumes:
- minio_data:/data
command: server /data --console-address ":9001"
restart: unless-stopped
volumes:
registry-data:
victoria-logs-data:
postgres_data:
minio_data: