-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (44 loc) · 1.08 KB
/
docker-compose.yml
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
version: '2.1'
services:
consul:
image: consul:latest
restart: always
volumes:
- "./docs/consul.d:/consul/config"
ports:
- 8500:8500
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8500"]
interval: 5s
timeout: 10s
retries: 5
http-echo-de:
image: hashicorp/http-echo:latest
restart: always
command: -text="hello from the DE endpoint"
ports:
- 5678:5678
http-echo-at:
image: hashicorp/http-echo:latest
restart: always
command: -text="hello from the AT endpoint"
ports:
- 5679:5678
reverse-geocoder:
image: adaptant/reverse-geocoding-service:latest
restart: always
command: --consul-agent "consul:8500"
depends_on:
consul:
condition: service_healthy
go-region-router:
image: adaptant/go-region-router:latest
restart: always
command: --consul-agent "consul:8500"
environment:
REVERSE_GEOCODING_SERVICE: "reverse-geocoder:4041"
depends_on:
consul:
condition: service_healthy
ports:
- 7000:7000