fix: use TS_AUTHKEY and TS_LOGIN_SERVER environment variables

This commit is contained in:
2026-08-02 10:34:04 -04:00
parent d6d610e0e0
commit 8926ba8019
2 changed files with 7 additions and 1 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
.env
.env.*
*.key
tskey-*
authkey*
tailscale/tailscale-data/

View File

@@ -33,7 +33,7 @@ ts-{{service}}/
mkdir -p tailscale/tailscale-data mkdir -p tailscale/tailscale-data
``` ```
3. Configure Tailscale 3. Configure Tailscale
- Replace `{{YOUR_TAILSCALE_AUTHKEY}}` in the docker-compose.yml with your actual Tailscale auth key - Make sure `TS_AUTHKEY` and `TS_LOGIN_SERVER` are set in your environment (or a local .env file) before running docker compose.
- Optionally, update the file in `tailscale/config/serve.json` if you need specific Tailscale serve configurations - Optionally, update the file in `tailscale/config/serve.json` if you need specific Tailscale serve configurations
- CAUTION: Changing `"${TS_CERT_DOMAIN}:443": false` to `true` will expose the service to the internet - CAUTION: Changing `"${TS_CERT_DOMAIN}:443": false` to `true` will expose the service to the internet