-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
57 lines (52 loc) · 1.07 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
version: '3.2'
networks:
mile:
driver: bridge
services:
rethinkdb:
image: rethinkdb:2.3
container_name: rethinkdb
restart: on-failure
hostname: rethinkdb
ports:
- "127.0.0.1:8080:8080"
volumes:
- ./rethinkdb:/data
networks:
mile:
indexer:
image: mile-explorer:${VER}
container_name: indexer
command: -a indexer -c /app/config.yaml
restart: on-failure
hostname: indexer
depends_on:
- rethinkdb
volumes:
- ./etc/indexer.yaml:/app/config.yaml
networks:
mile:
logging:
driver: "json-file"
options:
max-size: "20m"
max-file: "5"
explorer:
image: mile-explorer:${VER}
container_name: explorer
command: -a explorer -c /app/config.yaml
restart: on-failure
hostname: explorer
depends_on:
- rethinkdb
volumes:
- ./etc/explorer.yaml:/app/config.yaml
ports:
- "127.0.0.1:8042:8042"
networks:
mile:
logging:
driver: "json-file"
options:
max-size: "20m"
max-file: "5"