-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
52 lines (52 loc) · 1.17 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
version: "3.5"
services:
ndx-bot:
image: bonedaddy/gondx:v0.0.17-rc1-2-gfe8d0e5
command: "--startup.sleep discord ndx-bot"
depends_on:
- chain-updater
- postgres
networks:
privnet:
ipv4_address: 172.16.238.2
volumes:
- ./config.yml:/config.yml
chain-updater:
image: bonedaddy/gondx:v0.0.17-rc1-2-gfe8d0e5
command: "--startup.sleep discord db chain-updater"
depends_on:
- postgres
networks:
privnet:
ipv4_address: 172.16.238.3
volumes:
- ./config.yml:/config.yml
postgres:
image: postgres:10.12
shm_size: 2gb
networks:
privnet:
ipv4_address: 172.16.238.4
environment:
POSTGRES_DB: "indexed"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "password123"
volumes:
- ./my-postgres.conf:/etc/postgresql/postgresql.conf
grafana:
image: grafana/grafana
depends_on:
- postgres
networks:
privnet:
ipv4_address: 172.16.238.6
ports:
- 3001:3000
volumes:
- ./grafana:/var/lib/grafana
networks:
privnet:
driver: bridge
ipam:
config:
- subnet: 172.16.238.0/24