forked from InvisibleSymbol/rocketwatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (45 loc) · 1.08 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
version: "2.4"
services:
rocketwatch:
image: invisiblesymbol/rocketwatch
volumes:
- ./rocketwatch/contracts/rocketpool:/app/contracts/rocketpool
- ./rocketwatch/main.cfg:/app/main.cfg
restart: unless-stopped
depends_on:
- mongodb
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
# required to access my node containers
networks:
- ethereum
labels:
com.centurylinklabs.watchtower.enable: true
mongodb:
image: mongo:5.0.12
volumes:
- ./mongodb:/data/db
restart: unless-stopped
# bellow prevents unecessary data from being colleted
command: --setParameter diagnosticDataCollectionEnabled=false
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
networks:
- ethereum
ports:
- "127.0.0.1:27017:27017"
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 30
--label-enable
networks:
ethereum:
name: ethereum