forked from gochain/explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
34 lines (34 loc) · 829 Bytes
/
docker-compose.yaml
File metadata and controls
34 lines (34 loc) · 829 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
version: "3"
services:
web:
container_name: web
image: gcr.io/gochain-core/explorer:latest
restart: "always"
command: "server -d /explorer/ -m mongodb:27017"
links:
- "mongodb"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "80:8080"
- "8080:8080"
depends_on:
- mongodb
grabber:
container_name: grabber
image: gcr.io/gochain-core/explorer:latest
restart: "always"
command: "grabber -m mongodb:27017"
links:
- "mongodb"
depends_on:
- mongodb
mongodb:
image: mongo
container_name: "mongodb"
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
volumes:
- ./data/db:/data/db
command: mongod --logpath=/dev/null