nitro-stack/stack-orchestrator/compose/docker-compose-nitro-rpc-client.yml
Prathamesh Musale 2826bbd67d Add healthcheck to nitro-rpc-client container (#10)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
Reviewed-on: #10
Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
2024-09-17 13:54:17 +00:00

22 lines
519 B
YAML

name: nitro-rpc-client
services:
nitro-rpc-client:
image: cerc/nitro-client:local
hostname: nitro-rpc-client
restart: on-failure
environment:
NODE_EXTRA_CA_CERTS: "/app/mkcert-caroot/rootCA.pem"
command: ["bash", "-c", "tail -f /dev/null"]
healthcheck:
test: ["CMD-SHELL", "nitro-rpc-client --version -p 4005"]
interval: 30s
timeout: 5s
retries: 10
start_period: 10s
volumes:
- nitro_node_caroot:/app/mkcert-caroot
volumes:
nitro_node_caroot: