docker-compose.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. services:
  2. pilotdeck:
  3. build: .
  4. image: pilotdeck:latest
  5. ports:
  6. - "3001:3001"
  7. volumes:
  8. # Persist all PilotDeck state: generated config, auth DB, permissions,
  9. # sessions/projects, memory, skills/plugins, and router stats.
  10. - pilotdeck-home:/root/.pilotdeck
  11. # Optional: mount an existing config file instead of generating one from env vars.
  12. # Create the host file first, then uncomment this line.
  13. # - ${PILOTDECK_CONFIG:-${HOME}/.pilotdeck/pilotdeck.yaml}:/root/.pilotdeck/pilotdeck.yaml:ro
  14. # Optional: expose a host workspace to agents running inside the container.
  15. # - ${PILOTDECK_WORKSPACE:-${PWD}}:/workspace
  16. environment:
  17. - NODE_ENV=production
  18. - PILOT_HOME=/root/.pilotdeck
  19. - SERVER_PORT=3001
  20. - PILOTDECK_GATEWAY_PORT=18789
  21. # ── Proxy (uncomment if behind corporate proxy) ──
  22. # - https_proxy=http://host.docker.internal:7890
  23. # - PILOTDECK_PROXY=http://host.docker.internal:7890
  24. #
  25. # ── Or configure via env vars instead of mounting yaml ──
  26. # - PILOTDECK_MODEL=openai/gpt-4.1
  27. # - PILOTDECK_API_KEY=sk-xxx
  28. # - PILOTDECK_API_URL=https://api.openai.com/v1
  29. restart: unless-stopped
  30. volumes:
  31. pilotdeck-home: