File tree Expand file tree Collapse file tree 4 files changed +31
-0
lines changed
Expand file tree Collapse file tree 4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ service {
2+ id = " my-service1"
3+ name = " my-service"
4+ tags = [" v1" ]
5+ address = " 127.0.0.1"
6+ port = 8000
7+
8+ enable_tag_override = true
9+
10+ weights {
11+ passing = 10
12+ warning = 1
13+ }
14+ }
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ services :
2+ consul :
3+ image : ncode/consul:dev
4+ command : agent -dev -client=0.0.0.0 -config-dir /config
5+ ports :
6+ - " 8500:8500"
7+ volumes :
8+ - ./config/consul:/config
9+
10+ tagit :
11+ image : ncode/tagit:dev
12+ depends_on :
13+ - consul
14+ command : run --consul-addr=consul:8500 --service-id=my-service1 --script=/config/example.sh --interval=5s --tag-prefix=tagit
15+ volumes :
16+ - ./config/tagit:/config
17+
You can’t perform that action at this time.
0 commit comments