-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathcompose.test.yml
More file actions
38 lines (35 loc) · 879 Bytes
/
compose.test.yml
File metadata and controls
38 lines (35 loc) · 879 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
32
33
34
35
36
37
38
services:
etcd:
image: quay.io/coreos/etcd:v3.5.13
ports:
- 2379:2379
- 2380:2380
- 4001:4001
environment:
ETCD_NAME: etcd0
ETCD_ADVERTISE_CLIENT_URLS: http://etcd:2379,http://etcd:4001
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379,http://0.0.0.0:4001
ETCD_INITIAL_ADVERTISE_PEER_URLS: http://etcd:2380
ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
ETCD_INITIAL_CLUSTER_TOKEN: etcd-cluster-1
ETCD_INITIAL_CLUSTER: etcd0=http://etcd:2380
ETCD_INITIAL_CLUSTER_STATE: new
redis:
image: redis:8.4-alpine
ports:
- 6379:6379
command: redis-server
nats:
image: darkweak/nats
ports:
- 4222:4222
- 6222:6222
- 8222:8222
olric:
build:
context: ./olric/docker
target: olric
restart: on-failure
ports:
- 3320:3320
- 3322:3322