Chicken Estimation
License
NFFS-CMS
Setup for Deployment
Docker-compose.yml config
version: '3.3'
services:
node1:
image: "${CHICKEN_ESTIMATION_IMAGE}"
runtime: nvidia
pid: host
network_mode: host
cap_add:
- SYS_PTRACE
command: [
httpserver,
--listen-port, "${FREMIS1_LISTEN_PORT}",
--listen-port-monitoring, "${FREMIS1_LISTEN_PORT_MONITORING}",
--verbose,
]
healthcheck:
test: ["CMD", "curl", "-f", "http://0.0.0.0:${FREMIS1_LISTEN_PORT}/healthcheck"]
interval: 5s
timeout: 3s
retries: 20
coordinator:
image: "${CHICKEN_ESTIMATION_IMAGE}"
runtime: nvidia
pid: host
network_mode: host
cap_add:
- SYS_PTRACE
command: [
coordinator,
--access-key, "${NODEFLUX_ACCESS_KEY}",
--secret-key, "${NODEFLUX_SECRET_KEY}",
--deployment-key, "${NODEFLUX_DEPLOYMENT_KEY}",
--listen-port, "${COORDINATOR_LISTEN_PORT}",
--listen-port-monitoring, "${COORDINATOR_LISTEN_PORT_MONITORING}",
--config-path, "/etc/nodeflux/config.yml",
--verbose,
]
volumes:
- ${PWD}/config.yml:/etc/nodeflux/config.yml
depends_on:
node1:
condition: service_healthy
config.yml setting:
Run the Docker Compose by following these steps:
Last updated
Was this helpful?