-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
70 lines (62 loc) · 1.42 KB
/
docker-compose.yml
File metadata and controls
70 lines (62 loc) · 1.42 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
version: '3.8'
services:
etcd:
image: quay.io/coreos/etcd:v3.5.0
ports:
- "2379:2379"
- "2380:2380"
environment:
- ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379
- ETCD_ADVERTISE_CLIENT_URLS=http://localhost:2379
- ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380
- ETCD_INITIAL_ADVERTISE_PEER_URLS=http://localhost:2380
- ETCD_INITIAL_CLUSTER=default=http://localhost:2380
- ETCD_NAME=default
- ETCD_DATA_DIR=/etcd-data
volumes:
- etcd-data:/etcd-data
minio:
image: minio/minio:RELEASE.2023-03-20T20-16-18Z
ports:
- "9000:9000"
- "9001:9001"
environment:
- MINIO_ROOT_USER=decub
- MINIO_ROOT_PASSWORD=decub123
command: server /data --console-address ":9001"
volumes:
- minio-data:/data
control-plane:
build: ./decub-control-plane
ports:
- "8080:8080"
depends_on:
- etcd
environment:
- ETCD_ENDPOINTS=etcd:2379
gcl:
build: ./decub-gcl/go
ports:
- "8081:8080"
cas:
build: ./decub-cas
ports:
- "8082:8080"
depends_on:
- minio
environment:
- MINIO_ENDPOINT=minio:9000
- MINIO_ACCESS_KEY=decub
- MINIO_SECRET_KEY=decub123
catalog:
build: ./decub-catalog
ports:
- "8083:8080"
gossip:
build: ./decub-gossip
ports:
- "4001:4001"
command: ["/ip4/0.0.0.0/tcp/4001"]
volumes:
etcd-data:
minio-data: