-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
66 lines (63 loc) · 1.52 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
66
version: "3"
services:
insight-ui-zen:
restart: always
image: insight-ui-zen
container_name: insight-ui-zen
build:
context: ./insight-ui
args:
- "BITCORE_NODE_ZEN_TAG=${BITCORE_NODE_ZEN_TAG}"
- "INSIGHT_UI_TAG=${INSIGHT_UI_TAG}"
- "INSIGHT_API_TAG=${INSIGHT_API_TAG}"
depends_on:
- zen-bitcore-node
volumes:
- "./bitcore-node.json:/home/node/zen-explorer/bitcore-node.json"
ports:
- "3001:3001"
networks:
- backend
environment:
- "NODE_OPTIONS=--max-old-space-size=8192"
tmpfs:
- /run
- /tmp
logging:
driver: "json-file"
options:
max-size: "512m"
max-file: "4"
zen-bitcore-node:
restart: always
image: zencash/zen-node:${ZEN_TAG}
container_name: zen-bitcore-node
stop_grace_period: 5m
ports:
- "${ZEN_PORT}:${ZEN_PORT}"
volumes:
- "./zen-bitcore-node-data:/mnt/zen"
- "./zcash-params:/mnt/zcash-params"
environment:
- "RPC_USER=${ZEN_RPC_USER}"
- "RPC_PASSWORD=${ZEN_RPC_PASSWORD}"
- "RPC_PORT=${ZEN_RPC_PORT}"
- "RPC_ALLOWIP_PRESET=${ZEN_RPC_ALLOWIP_PRESET}"
- "PORT=${ZEN_PORT}"
- "EXTERNAL_IP=${ZEN_EXTERNAL_IP}"
- "OPTS=${ZEN_OPTS}"
- "LOCAL_USER_ID=${USER_ID}"
- "LOCAL_GRP_ID=${GRP_ID}"
- "LOG=STDOUT"
networks:
- backend
tmpfs:
- /run
- /tmp
logging:
driver: "json-file"
options:
max-size: "512m"
max-file: "4"
networks:
backend: