11version : ' 3'
22services :
3+ etcd :
4+ hostname : etcd
5+ image : public.ecr.aws/vanus/etcd:v3.5.7
6+ pull_policy : missing
7+ container_name : etcd
8+ deploy :
9+ replicas : 1
10+ restart_policy :
11+ condition : on-failure
12+ privileged : true
13+ volumes :
14+ - " /etcd/data:/opt/bitnami/etcd/data"
15+ environment :
16+ - " ETCD_ADVERTISE_CLIENT_URLS=http://0.0.0.0:2379"
17+ - " ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379"
18+ - " ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380"
19+ - " ETCD_INITIAL_ADVERTISE_PEER_URLS=http://0.0.0.0:2380"
20+ - " ALLOW_NONE_AUTHENTICATION=yes"
21+ - " ETCD_INITIAL_CLUSTER=node1=http://0.0.0.0:2380"
22+ - " ETCD_NAME=node1"
23+ - " ETCD_DATA_DIR=/opt/bitnami/etcd/data"
24+ ports :
25+ - 2379:2379
26+ - 2380:2380
27+ networks :
28+ - vanus
29+ root-controller :
30+ image : public.ecr.aws/vanus/root-controller:v0.7.0
31+ pull_policy : missing
32+ container_name : root-controller
33+ volumes :
34+ - ./config/root-controller.yaml:/vanus/config/root.yaml
35+ environment :
36+ - " VANUS_LOG_LEVEL=DEBUG"
37+ expose :
38+ - 2021
39+ - 2110
40+ networks :
41+ - vanus
342 controller :
4- image : public.ecr.aws/vanus/controller:v0.6.0
43+ image : public.ecr.aws/vanus/controller:v0.7.0
44+ pull_policy : missing
545 container_name : controller
646 volumes :
747 - ./config/controller.yaml:/vanus/config/controller.yaml
48+ environment :
49+ - " VANUS_LOG_LEVEL=DEBUG"
850 expose :
951 - 2048
1052 - 2112
1153 networks :
1254 - vanus
55+ depends_on :
56+ - root-controller
1357 store :
1458 container_name : store
15- image : public.ecr.aws/vanus/store:b7cb025
59+ image : public.ecr.aws/vanus/store:v0.7.0
60+ pull_policy : missing
1661 volumes :
1762 - ./config/store.yaml:/vanus/config/store.yaml
63+ environment :
64+ - " VANUS_LOG_LEVEL=DEBUG"
65+ - " VOLUME_ID=1"
1866 expose :
1967 - 11811
2068 - 2114
@@ -24,7 +72,8 @@ services:
2472 - controller
2573 timer :
2674 container_name : timer
27- image : public.ecr.aws/vanus/timer:357a882
75+ image : public.ecr.aws/vanus/timer:v0.7.0
76+ pull_policy : missing
2877 volumes :
2978 - ./config/timer.yaml:/vanus/config/timer.yaml
3079 expose :
@@ -36,7 +85,8 @@ services:
3685 - store
3786 trigger :
3887 container_name : trigger
39- image : public.ecr.aws/vanus/trigger:v0.6.0
88+ image : public.ecr.aws/vanus/trigger:v0.7.0
89+ pull_policy : missing
4090 volumes :
4191 - ./config/trigger.yaml:/vanus/config/trigger.yaml
4292 expose :
@@ -47,7 +97,8 @@ services:
4797 - controller
4898 gateway :
4999 container_name : gateway
50- image : public.ecr.aws/vanus/gateway:b52b795
100+ image : public.ecr.aws/vanus/gateway:v0.7.0
101+ pull_policy : missing
51102 ports :
52103 - " 8080:8080"
53104 - " 8081:8081"
0 commit comments