-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (41 loc) · 892 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (41 loc) · 892 Bytes
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
version: "3"
services:
lisk-explorer:
image: lisk/explorer:latest
depends_on:
- explorer-cache
- freegeoip
ports:
- "127.0.0.1:6040:6040"
networks:
- lisk-explorer
- localhost
restart: on-failure
env_file:
- ./docker-lisk-core.env
environment:
- REDIS_HOST=explorer-cache
- FREEGEOIP_HOST=freegeoip
explorer-cache:
image: redis:alpine
networks:
- lisk-explorer
restart: on-failure
explorer-cache-candles:
image: lisk/explorer:latest
depends_on:
- explorer-cache
networks:
- lisk-explorer
environment:
- REDIS_HOST=explorer-cache
command: ./node_modules/grunt-cli/bin/grunt candles:build
freegeoip:
image: fiorix/freegeoip
networks:
- lisk-explorer
restart: on-failure
networks:
lisk-explorer:
localhost:
external: true