generated from DAM/ts-TEMPLATE
- Tailscale as default (Quick Start at top) - Headscale section at bottom with explicit steps - Clear .env changes for each environment - Updated serve config switching table
1.9 KiB
1.9 KiB
Vikunja with Tailscale Integration
This project sets up a Vikunja instance with Tailscale VPN integration using Docker Compose.
Quick Start (Tailscale)
- Copy the example environment file and fill in your values:
cp .env.example .env - Edit
.envand set:TS_AUTHKEY— your Tailscale auth keyTS_LOGIN_SERVER— leave ashttps://controlplane.tailscale.com(default)
- Start the stack:
docker compose up -d - Access Vikunja at
http://vikunja.<your-tailnet>.ts.net
Headscale
If you're using Headscale instead of Tailscale:
- Copy the example environment file:
cp .env.example .env - Edit
.envand set:TS_AUTHKEY— your Headscale auth keyTS_LOGIN_SERVER— your Headscale server URL
- Switch to the Headscale serve config:
cp tailscale/config/serve.headscale.json tailscale/config/serve.json - Edit
serve.jsonand replacevikunja.example.comwith your actual domain - Start the stack:
docker compose up -d - Access Vikunja at
http://vikunja.yourdomain.com
Configuration
See .env.example for all available options.
Switching Serve Configs
| Environment | File to use | Notes |
|---|---|---|
| Tailscale (default) | tailscale/config/serve.json |
Supports HTTP + HTTPS with certs |
| Headscale | tailscale/config/serve.headscale.json |
HTTP only |
After changing the serve config, restart the sidecar:
docker compose restart vikunja-ts
Optional: Direct Host Access
Uncomment the ports section in docker-compose.yml if you need direct access without Tailscale:
ports:
- 3456:3456