-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
65 lines (60 loc) · 1.39 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
version: "3.8"
networks:
docknode-atom:
driver: bridge
volumes:
gaiad_data: {}
caddy_data: {}
caddy_config: {}
services:
gaiad:
image: "gaiad:11.0.0"
restart: unless-stopped
expose:
- 9090
- 1317
- 26657
ports:
- "26656:26656"
volumes:
- ./gaia/config.toml:/root/.gaia/config/config.toml
- ./gaia/addrbook.json:/root/.gaia/config/addrbook.json:rw
- ./gaia/genesis.json:/root/.gaia/config/genesis.json
- ./gaia:/root/.gaia/config
- gaiad_data:/root/.gaia/data
networks:
- docknode-atom
depends_on:
- caddy
nodeexporter:
image: prom/node-exporter:v1.5.0
restart: unless-stopped
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- "--path.procfs=/host/proc"
- "--path.rootfs=/rootfs"
- "--path.sysfs=/host/sys"
- "--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)"
expose:
- 9100
networks:
- docknode-atom
caddy:
image: caddy:2-alpine
ports:
- "80:80"
- "443:443"
- "9100:9100"
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
environment:
- METRICS_USERS=${METRICS_USERS:?err}
- RPC_USERS=${RPC_USERS:?err}
- HOST=${HOST:?err}
networks:
- docknode-atom