-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (52 loc) · 1.27 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
50
51
52
53
54
55
56
57
58
version: '3.5'
services:
bot:
image: labbsr0x/bb-bot:latest
environment:
- ETCD_URLS=http://etcd:2379
- TELEGRAM_TOKEN=teste
- DEBUG=*
- LANGUAGE=en
ports:
- 3000:3000
etcd:
image: quay.io/coreos/etcd:v3.2.25
ports:
- 2379:2379
environment:
- ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379
- ETCD_ADVERTISE_CLIENT_URLS=http://etcd:2379
# below is defined the example setup for metric consumption by big brother
example-service:
image: labbsr0x/metrics-generator:latest
depends_on:
- etcd
ports:
- 32865
environment:
- COMPONENT_NAME=app2
- REGISTRY_SERVICE=app2
- REGISTRY_ETCD_URL=http://etcd:2379
example-service2:
image: labbsr0x/metrics-generator:latest
depends_on:
- etcd
ports:
- 32865
environment:
- REGISTRY_SERVICE=app1
- COMPONENT_NAME=app1
- REGISTRY_ETCD_URL=http://etcd:2379
example-bb-promster:
image: labbsr0x/bb-promster:latest
depends_on:
- etcd
- example-service
ports:
- 9091:9090
environment:
- REGISTRY_SERVICE=promster
- REGISTRY_ETCD_BASE=/services
- BB_PROMSTER_LEVEL=1
- ETCD_URLS=http://etcd:2379
- SCRAPE_ETCD_PATH=/services/