24 lines
504 B
YAML
24 lines
504 B
YAML
services:
|
|
|
|
cfgsync:
|
|
container_name: cfgsync
|
|
build:
|
|
context: .
|
|
dockerfile: testnet/Dockerfile
|
|
image: nomos:latest
|
|
volumes:
|
|
- ./testnet:/etc/nomos
|
|
entrypoint: /etc/nomos/scripts/run_cfgsync.sh
|
|
|
|
nomos-node:
|
|
build:
|
|
context: .
|
|
dockerfile: testnet/Dockerfile
|
|
volumes:
|
|
- ./testnet:/etc/nomos
|
|
deploy:
|
|
replicas: ${DOCKER_COMPOSE_LIBP2P_REPLICAS:-1}
|
|
depends_on:
|
|
- cfgsync
|
|
entrypoint: /etc/nomos/scripts/run_nomos_node.sh
|