nitro-stack/stack-orchestrator/compose/docker-compose-go-nitro.yml

28 lines
858 B
YAML
Raw Normal View History

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}
CERC_BOOT_PEERS: ${CERC_BOOT_PEERS}
CERC_PUBLIC_IP: ${CERC_PUBLIC_IP:-127.0.0.1}
entrypoint: ["bash", "-c", "/app/run-nitro-node.sh"]
volumes:
- ../config/go-nitro/run-nitro-node.sh:/app/run-nitro-node.sh
ports:
- 3006:3006
- 4006:4006
- 5006:5006
extra_hosts:
- "host.docker.internal:host-gateway"