-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (56 loc) · 1.41 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
version: "3.3"
services:
mina:
image: ${MINA}
container_name: mina
ports:
- "6060:6060"
- "8302:8302"
- "127.0.0.1:3085:3085"
restart: always
env_file:
- $HOME/mina-bp-setup/.env
environment:
MINA_PRIVKEY_PASS: ${MINA_PRIVKEY_PASS}
CODA_PRIVKEY_PASS: ${CODA_PRIVKEY_PASS}
UPTIME_PRIVKEY_PASS: ${UPTIME_PRIVKEY_PASS}
KEYPATH: ${KEYPATH}
COINBASE_RECEIVER: ${COINBASE_RECEIVER}
volumes:
- "$HOME/.mina-config:/root/.mina-config"
- "$HOME/keys:/root/keys:ro"
- "./import.sh:/entrypoint.d/import.sh"
command: >
daemon
--peer-list-url ${PEER_LIST}
--block-producer-key ${KEYPATH}
--coinbase-receiver ${COINBASE_RECEIVER}
--uptime-submitter-key ${KEYPATH}
--uptime-url ${UPTIME_URL}
${NODE_STATUS_URL}
${NODE_ERROR_URL}
--metrics-port 6060
--open-limited-graphql-port
--limited-graphql-port 3095
--insecure-rest-server
--file-log-level Debug
--log-level Info
${STOP_TIME}
networks:
- mina
sidecar:
image: ${SIDECAR}
container_name: sidecar
depends_on:
- mina
pid: host
restart: always
env_file:
- $HOME/mina-bp-setup/.env
volumes:
- "$HOME/mina-bp-setup/sidecar.json:/etc/mina-sidecar.json"
networks:
- mina
networks:
mina:
driver: bridge