services: logboard: build: . container_name: logboard env_file: - .env ports: - "${LOGBOARD_PORT}:${LOGBOARD_PORT}" volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ./snapshots:/app/snapshots - ./logs:/app/logs - ./app:/app restart: unless-stopped user: 0:0 networks: - iaas - infrastructure_iaas command: ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "${LOGBOARD_PORT}"] healthcheck: test: ["CMD", "curl", "-f", "http://localhost:${LOGBOARD_PORT}/healthz"] interval: 30s timeout: 10s retries: 3 start_period: 40s networks: iaas: external: true infrastructure_iaas: external: true