-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.coordinator.yml
55 lines (53 loc) · 1.53 KB
/
docker-compose.coordinator.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
version: "3.3"
services:
mina:
image: ${MINA}
container_name: coordinator
ports:
- "6060:6060"
- "0.0.0.0:8302:8302"
- "0.0.0.0:8301:8301"
- "127.0.0.1:3085:3085"
- "0.0.0.0:3089:3089"
restart: always
env_file:
- $HOME/mina-testworld-coordinator/.env
environment:
UPTIME_PRIVKEY_PASS: ${UPTIME_PRIVKEY_PASS}
MINA_LIBP2P_PASS: ${MINA_LIBP2P_PASS}
RAYON_NUM_THREADS: ${RAYON_NUM_THREADS_COORD}
MINA_CLIENT_TRUSTLIST: ${WORKER_IP}
volumes:
- "${CONFIG_DIRECTORY}:/root/.mina-config"
- "${KEYS_PATH}:/root/keys:ro"
command: >
daemon
--peer-list-url ${PEER_LIST}
--uptime-url ${UPTIME_URL}
--uptime-submitter-key ${KEYPATH}
--libp2p-keypair ${LIBP2P_KEYPATH}
--node-status-url ${NODE_STATUS_URL}
--node-error-url ${NODE_ERROR_URL}
--itn-keys ${ITN_KEYS}
--itn-graphql-port 3089
--external-ip ${EXTERNAL_IP}
--config-directory ${CONFIG_DIRECTORY}
--run-snark-coordinator ${COORDINATOR_KEY}
--snark-worker-fee ${FEE}
--work-selection ${WORK_SELECTION}
--metrics-port 6060
--enable-peer-exchange true
--log-precomputed-blocks true
--max-connections 200
--file-log-rotations 500
--log-snark-work-gossip true
--internal-tracing
--insecure-rest-server
--log-level Debug
--file-log-level Debug
${STOP_TIME}
networks:
- mina
networks:
mina:
driver: bridge