-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
67 lines (65 loc) · 1.7 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
59
60
61
62
63
64
65
66
67
version: '3'
services:
# terrad:
# image: terramoney/localterra-core:2.0.1
# #pull_policy: always
# volumes:
# - ./config:/root/.terra/config
# - ./entrypoint.sh:/entrypoint.sh
# networks:
# - terra
# ports:
# - "26657:26657"
# - "1317:1317"
# - "9090:9090"
# - "9091:9091"
# entrypoint: /entrypoint.sh
# command: terrad start
redis:
# https://github.com/llllllluc/warp-keeper/issues/4
# latest version at the time of writing is 7 and it has some weird issue, using 6 seems to work fine
# image: redis:latest
image: redis:6
networks:
- warp-keeper-network
ports:
- '6379:6379'
collector:
build:
context: ./
dockerfile: collector.Dockerfile
environment:
- REDIS_ENDPOINT=redis://redis:6379
- LCD_ENDPOINT=http://host.docker.internal:1317
- WEBSOCKET_ENDPOINT=ws://host.docker.internal:26657/websocket
depends_on:
- redis
networks:
- warp-keeper-network
monitor:
build:
context: ./
dockerfile: monitor.Dockerfile
environment:
- REDIS_ENDPOINT=redis://redis:6379
- LCD_ENDPOINT=http://host.docker.internal:1317
- WEBSOCKET_ENDPOINT=ws://host.docker.internal:26657/websocket
depends_on:
- redis
networks:
- warp-keeper-network
executor:
build:
context: ./
dockerfile: executor.Dockerfile
environment:
- REDIS_ENDPOINT=redis://redis:6379
- LCD_ENDPOINT=http://host.docker.internal:1317
- WEBSOCKET_ENDPOINT=ws://host.docker.internal:26657/websocket
depends_on:
- redis
networks:
- warp-keeper-network
networks:
warp-keeper-network:
driver: bridge