Skip to content

Vikunja

Vikunja is deployed on pi01 with Docker Compose by vikunja_playbook.yml. The container listens on 127.0.0.1:3456; Pangolin publishes it at tasks.apps.dbren.uk through the site connector. The Pangolin uk-only policy protects the public resource. That shared policy also requires SSO for Pangolin's Member role, so users must pass Pangolin's access check as well as Vikunja's Google sign-in.

Google sign-in

Vikunja's OpenID Connect provider is configured with Google. Create a Google OAuth client and add this authorized redirect URI:

https://tasks.apps.dbren.uk/auth/openid/google

Store the client ID, client secret, and a random Vikunja service secret in the Vikunja item in the Home-Ops 1Password vault. The expected field names are documented in Secrets Management. The service secret is used to sign tokens and should remain stable across restarts.

Local username and password authentication and local registration are disabled; users sign in with Google. Vikunja still creates a user the first time someone authenticates through OpenID Connect, so Google OAuth audience settings and Pangolin's access policy restrict who can reach the service. If migrating existing local users, have each user link their Google account in Vikunja before disabling local authentication.

Persistent data

The SQLite database and uploaded files are stored under /opt/compose/vikunja/data. The Compose project and templated configuration are stored under /opt/compose/vikunja.