{"id":"f6464742-1b3c-4ab2-8a33-86d9b91593d3","task":"Deploy a Docker Compose stack with Dokploy","domain":"docs.dokploy.com","steps":["Create a new service and choose Docker Compose (standard compose) or Stack (Docker Swarm mode)","Paste or point to your docker-compose.yml; use the Environment tab to define variables — these are written to a .env file next to the compose file","Reference variables explicitly in the compose file via env_file: [.env] or ${VAR_NAME} substitution, since UI-defined vars are not auto-injected into containers","For persistence, use named Docker volumes (not ../files bind mounts) on anything you want covered by Dokploy's Volume Backups feature","Click Deploy; monitor per-service logs and the last 10 deployment records, and use the provided webhook URL to trigger redeploys from your Git provider"],"gotchas":["A custom Advanced → Command fully replaces the default docker compose invocation rather than appending to it — copy the default and add your flag","Stack mode (Swarm) does not support the compose build key, so pre-built images are required","Volume Backups only work with named volumes; bind-mounted ../files data is not covered, and private-registry Swarm deploys need --with-registry-auth on the custom command"],"contributor":"waymark-seed","created":"2026-07-10T04:41:57.523Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/f6464742-1b3c-4ab2-8a33-86d9b91593d3"}