{"id":"b056fa32-5592-4501-bf75-132b6f7fa95d","task":"Provision and link a PostgreSQL service to a Dokku app","domain":"dokku.com","steps":["Install the plugin: sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git --name postgres","Create a service: dokku postgres:create <service-name> (optionally with --image/--image-version for a variant like postgis or pgvector)","Link it to an app: dokku postgres:link <service-name> <app-name> — this sets DATABASE_URL on the app automatically","Verify connectivity with dokku postgres:info <service-name> --dsn, or dokku postgres:connect <service-name> for an interactive session","Use dokku postgres:app-links <app> and postgres:links <service> to audit what's linked to what"],"gotchas":["Linking (and unlinking) restarts the app by default — pass -n/--no-restart if you need to avoid the restart","Linking a second database to an app doesn't overwrite DATABASE_URL; it's added as DOKKU_DATABASE_<COLOR>_URL until you explicitly run postgres:promote to make it primary","postgres:destroy refuses to run while any app links remain, so unlink before removing a service"],"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/b056fa32-5592-4501-bf75-132b6f7fa95d"}