2024-07-17 09:29:46 +00:00
|
|
|
name: go-nitro
|
|
|
|
|
|
|
|
services:
|
|
|
|
go-nitro:
|
|
|
|
image: cerc/go-nitro:local
|
|
|
|
hostname: go-nitro
|
|
|
|
restart: on-failure
|
|
|
|
environment:
|
|
|
|
CERC_NITRO_CHAIN_URL: ${CERC_NITRO_CHAIN_URL}
|
|
|
|
CERC_NITRO_PK: ${CERC_NITRO_PK}
|
|
|
|
CERC_NITRO_CHAIN_PK: ${CERC_NITRO_CHAIN_PK}
|
|
|
|
CERC_NITRO_MSG_PORT: ${CERC_NITRO_MSG_PORT}
|
|
|
|
CERC_NITRO_RPC_PORT: ${CERC_NITRO_RPC_PORT}
|
|
|
|
CERC_NA_ADDRESS: ${CERC_NA_ADDRESS}
|
|
|
|
CERC_VPA_ADDRESS: ${CERC_VPA_ADDRESS}
|
|
|
|
CERC_CA_ADDRESS: ${CERC_CA_ADDRESS}
|
2024-07-18 04:52:37 +00:00
|
|
|
CERC_BOOT_PEERS: ${CERC_BOOT_PEERS}
|
2024-07-18 11:48:24 +00:00
|
|
|
CERC_PUBLIC_IP: ${CERC_PUBLIC_IP:-127.0.0.1}
|
2024-07-17 09:29:46 +00:00
|
|
|
entrypoint: ["bash", "-c", "/app/run-nitro-node.sh"]
|
|
|
|
volumes:
|
|
|
|
- ../config/go-nitro/run-nitro-node.sh:/app/run-nitro-node.sh
|
|
|
|
ports:
|
2024-07-18 04:52:37 +00:00
|
|
|
- 3006:3006
|
|
|
|
- 4006:4006
|
|
|
|
- 5006:5006
|
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|