EDOS deployment quickref (agents)¶
Audience: Agent
Use this page for fast implementation/deploy tasks. For full rationale and edge cases, read DEPLOYMENT.md.
Objective¶
Ship a service that can be deployed on the existing production Docker host with:
docker compose pull
docker compose up -d
Required shape¶
- Repo root contains
docker-compose.yaml(or.yml). - Service joins external
traefiknetwork. - Traefik labels follow existing pattern (
websecure,letsencrypt,http-redirectscheme). image:points to pullable registry image (pinned tag preferred).loadbalancer.server.portequals the container's internal listen port.
Label pattern (copy and adapt)¶
services:
SERVICE_KEY:
image: registry.gitlab.com/elite-dangerous1/PROJECT_NAME:IMAGE_TAG
labels:
- "traefik.enable=true"
- "traefik.http.routers.ROUTER_NAME.rule=Host(`HOST_FQDN`)"
- "traefik.http.routers.ROUTER_NAME.entrypoints=websecure"
- "traefik.http.services.BACKEND_SERVICE_NAME.loadbalancer.server.port=CONTAINER_PORT"
- "traefik.http.routers.ROUTER_NAME.tls=true"
- "traefik.http.routers.ROUTER_NAME.tls.certresolver=letsencrypt"
- "traefik.http.middlewares.http-redirectscheme.redirectscheme.scheme=https"
- "traefik.http.middlewares.http-redirectscheme.redirectscheme.permanent=true"
networks:
- traefik
networks:
traefik:
external: true
Existing production references¶
elite-dangerous-surface-map/docker-compose.yamlelite-dangerous-remote-journal-reader/docker-compose.yamlapi-cache-server/docker-compose.ymldocs-deploy/docker-compose.yaml(docs host)
Minimal rollout steps¶
- Copy compose file to server directory (for example
/home/root/projects/PROJECT_DIR/docker-compose.yaml). - Run:
docker compose pulldocker compose up -d --remove-orphans- Verify:
docker compose psdocker compose logs --tail=200- open
https://HOST_FQDN
Agent checklist¶
- Do not introduce direct community API calls from browsers (use cache/proxy pattern).
- Keep IPC origin allowlists explicit if your app uses
postMessage. - Record unknowns as
TODO: Verifywith concrete next step.