Files
Duriin-API/docker-compose.yml
T

130 lines
3.1 KiB
YAML

services:
api:
build:
context: .
provenance: false
env_file: .env
volumes:
- ./config.json:/app/config.json:ro
- ./data:/data
environment:
NODE_ENV: production
INTELLIGENCE_DB: /data/intelligence.sqlite
DURIIN_RUN_SCHEDULER: "false"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
intelligence:
profiles: [legacy]
build:
context: .
provenance: false
command: node workers/index.js
env_file: .env
volumes:
- ./config.json:/app/config.json:ro
- ./data:/data
environment:
NODE_ENV: production
DURIIN_DB: /data/archive.sqlite
INTELLIGENCE_DB: /data/intelligence.sqlite
restart: unless-stopped
networks:
- nginx_proxy_manager_default
autonomy:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/autonomy-entrypoint.js
env_file: .env
volumes:
- ./config.json:/app/config.json:ro
- ./data:/data
environment:
NODE_ENV: production
DURIIN_DB: /data/archive.sqlite
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_POLL_MS: "1000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
coordinator:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/coordinator-entrypoint.js
env_file: .env
volumes:
- ./config.json:/app/config.json:ro
- ./data:/data
environment:
NODE_ENV: production
DURIIN_DB: /data/archive.sqlite
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_POLL_MS: "1000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
autonomy-outcomes:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/outcome-autonomy-entrypoint.js
env_file: .env
volumes:
- ./data:/data
environment:
NODE_ENV: production
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_OUTCOME_POLL_MS: "60000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
calibration:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/calibration-entrypoint.js
env_file: .env
volumes:
- ./data:/data
environment:
NODE_ENV: production
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_CALIBRATION_POLL_MS: "60000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
execution:
profiles: [autonomy]
build:
context: .
provenance: false
command: node workers/execution-entrypoint.js
env_file: .env
volumes:
- ./data:/data
environment:
NODE_ENV: production
INTELLIGENCE_DB: /data/intelligence.sqlite
AUTONOMY_EXECUTION_MODE: "shadow"
AUTONOMY_DEFAULT_NOTIONAL: "100"
AUTONOMY_EXECUTION_POLL_MS: "10000"
restart: unless-stopped
networks:
- nginx_proxy_manager_default
networks:
nginx_proxy_manager_default:
external: true