fix: run cities labeler from its release image
Deploy PDS / deploy (push) Canceled after 0s

Pull git.cosocial.info/cosocial-canada/atproto-cosocial-labeler instead of
cloning and building on the server, which took several minutes per deploy.
Watchtower picks up new :latest releases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
govandClaude Opus 5.5 committed 2026-11-06 15:37:32 -05:00
1 parent f998954be9
commit e691cabf6f
5 files changed
+5 -19

No files matched your search

+2 -4
View File
@@ -109,13 +109,12 @@ Requires a recent PDS image (telemetry added in `@atproto/pds` 0.5.26, distro ta
### Cities labeler
Optional. Deploys [atproto-cosocial-labeler](https://git.cosocial.info/CoSocial-Canada/atproto-cosocial-labeler) (city badges requested over Bluesky DMs) to `/pds/cities`, behind Caddy at `pds_cities_hostname`. Its label database lives in `cities/data`, so it's included in PDS backups.
Optional. Runs the release image of [atproto-cosocial-labeler](https://git.cosocial.info/CoSocial-Canada/atproto-cosocial-labeler) (city badges requested over Bluesky DMs) from `/pds/cities`, behind Caddy at `pds_cities_hostname`. Its label database lives in `cities/data`, so it's included in PDS backups. Watchtower pulls new `:latest` releases hourly, like the PDS image.
| Variable | Required | Default | Description |
|---|---|---|---|
| `pds_cities_enabled` | no | — | Deploy the cities labeler |
| `pds_cities_repo` | yes (if enabled) | — | Git URL of the labeler repo |
| `pds_cities_version` | no | `main` | Branch, tag, or commit to deploy |
| `pds_cities_image` | no | `git.cosocial.info/cosocial-canada/atproto-cosocial-labeler:latest` | Labeler image; pin a version tag to opt out of auto-updates |
| `pds_cities_hostname` | yes (if enabled) | — | Public DNS name for the labeler service (needs an A record) |
| `pds_cities_handle` | no | `cities.<pds_hostname>` | Labeler account handle |
| `pds_cities_app_password` | yes (if enabled) | — | Labeler account app password with DM access |
@@ -222,7 +221,6 @@ Auto-deploys on push to `main`. Set up these in Gitea repo settings (Settings >
| `PDS_SERVICE_NAME` | *(optional)* PDS display name for branding |
| `PDS_PRIMARY_COLOR` | *(optional)* Primary color (hex) for branding |
| `PDS_CITIES_HOSTNAME` | *(optional)* Set to deploy the cities labeler at this hostname |
| `PDS_CITIES_REPO` | *(with cities)* Git URL of the labeler repo |
Outgoing emails are sent from `techops@cosocial.ca` (fixed in the workflow).