gotosocial
by QuenchWorks
GoToSocial: a lightweight ActivityPub server for the fediverse with a Mastodon-compatible API, an admin account generated at install, SQLite on a volume and native TLS. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.
About this chart
Quenchworks GoToSocial
Hardened GoToSocial, a lightweight ActivityPub server for the fediverse: it
federates with Mastodon and others and speaks the Mastodon client API, so existing apps work. The image
is built from source (pure Go, OpenTelemetry left out with upstream's nootel tag); it runs as uid 1001
and is CVE-gated at build, cosign-signed and pinned by digest.
Install
helm install social oci://ghcr.io/quenchworks/charts/gotosocial --set host=social.example.com
kubectl get secret social-gotosocial -o jsonpath='{.data.password}' | base64 -d # user admin
Put it behind an ingress that serves https://social.example.com. host cannot change once the instance
has federated. The admin is created after the first start (GoToSocial's CLI needs the instance
application the first start creates) and its password is reset from the Secret on every start.
Configuration
| Key | Default | What it does |
|---|---|---|
host | required | The instance's domain |
accountDomain | "" | user@domain handles on another host |
admin.username, admin.email | admin, [email protected] | The admin account |
admin.existingSecret | "" | A Secret with key password |
registrationOpen | false | Let anyone request an account (an admin approves) |
trustedProxies | [] | Proxies whose X-Forwarded-For to trust |
settings | {} | More GTS_* settings |
persistence.size | 20Gi | SQLite and media |
tls.enabled | false | HTTPS on 8080 (existing Secret, cert-manager or a Helm-made CA) |
Verify the image
cosign verify ghcr.io/quenchworks/images/gotosocial \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Deploy gotosocial with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gotosocial on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgotosocial is pinned at v0.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply