Turn on StarPunk crossposting to GoToSocial (v2.1.0)
StarPunk 2.1.0 copies new notes to GoToSocial and keeps edits and deletes in step. Token for the app "StarPunk crossposting" (scopes write:statuses write:media) is in vault_starpunk.gotosocial_token; the container reaches social. through Caddy (hairpin). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,7 @@ services:
|
|||||||
db_user: "dawarich"
|
db_user: "dawarich"
|
||||||
|
|
||||||
# StarPunk image tag, built by CI in the StarPunk repo (bump to deploy a release)
|
# StarPunk image tag, built by CI in the StarPunk repo (bump to deploy a release)
|
||||||
starpunk_version: "v2.0.2"
|
starpunk_version: "v2.1.0"
|
||||||
|
|
||||||
# StarPunk admin: Pocket ID user ID (sub) of phil
|
# StarPunk admin: Pocket ID user ID (sub) of phil
|
||||||
starpunk_admin_sub: "5754855f-0a30-4755-9609-7294209e40f4"
|
starpunk_admin_sub: "5754855f-0a30-4755-9609-7294209e40f4"
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ Tags: each category file has a category tag, each service its own tag.
|
|||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `gotosocial` | GoToSocial | Pocket ID through env vars. Account domain is the apex; Caddy serves WebFinger there. Daily S3 backup of its volume. |
|
| `gotosocial` | GoToSocial | Pocket ID through env vars. Account domain is the apex; Caddy serves WebFinger there. Daily S3 backup of its volume. |
|
||||||
| `listmonk` | Listmonk | Postgres 17. On `listmonk.nerder.land`. |
|
| `listmonk` | Listmonk | Postgres 17. On `listmonk.nerder.land`. |
|
||||||
| `starpunk` | StarPunk | Micropub server for the main site. Image built by the StarPunk repo's Gitea Actions on `vX.Y.Z` tags; deploy a release by bumping `starpunk_version`. Admin login via Pocket ID; issues its own Micropub tokens. |
|
| `starpunk` | StarPunk | Micropub server for the main site. Image built by the StarPunk repo's Gitea Actions on `vX.Y.Z` tags; deploy a release by bumping `starpunk_version`. Admin login via Pocket ID; issues its own Micropub tokens. Crossposts new notes to GoToSocial (token in `vault_starpunk.gotosocial_token`). |
|
||||||
|
|
||||||
### Monitoring (`monitoring`)
|
### Monitoring (`monitoring`)
|
||||||
| Tag | Service | Notes |
|
| Tag | Service | Notes |
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ services:
|
|||||||
extra_hosts:
|
extra_hosts:
|
||||||
- '{{ subdomains.pocketid }}:{{ docker.hairpin_ip }}'
|
- '{{ subdomains.pocketid }}:{{ docker.hairpin_ip }}'
|
||||||
- '{{ primary_domain }}:{{ docker.hairpin_ip }}'
|
- '{{ primary_domain }}:{{ docker.hairpin_ip }}'
|
||||||
|
- '{{ subdomains.social }}:{{ docker.hairpin_ip }}'
|
||||||
volumes:
|
volumes:
|
||||||
- starpunk-data:/data
|
- starpunk-data:/data
|
||||||
environment:
|
environment:
|
||||||
@@ -25,6 +26,10 @@ services:
|
|||||||
OIDC_CLIENT_SECRET: {{ vault_starpunk.pocketid.client_secret }}
|
OIDC_CLIENT_SECRET: {{ vault_starpunk.pocketid.client_secret }}
|
||||||
OIDC_ADMIN_SUB: {{ starpunk_admin_sub }}
|
OIDC_ADMIN_SUB: {{ starpunk_admin_sub }}
|
||||||
OIDC_PROVIDER_NAME: Pocket ID
|
OIDC_PROVIDER_NAME: Pocket ID
|
||||||
|
# Crosspost new notes to GoToSocial (app "StarPunk crossposting",
|
||||||
|
# scopes write:statuses write:media)
|
||||||
|
GOTOSOCIAL_URL: https://{{ subdomains.social }}
|
||||||
|
GOTOSOCIAL_ACCESS_TOKEN: {{ vault_starpunk.gotosocial_token }}
|
||||||
# Production settings
|
# Production settings
|
||||||
FLASK_ENV: production
|
FLASK_ENV: production
|
||||||
FLASK_DEBUG: 0
|
FLASK_DEBUG: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user