Compare commits

1 Commits
main ... main

Author SHA1 Message Date
2fb3b5032e fix: use TS_AUTHKEY and TS_LOGIN_SERVER environment variables 2026-08-02 10:34:09 -04:00
3 changed files with 8 additions and 4 deletions

6
.gitignore vendored Normal file
View File

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

View File

@@ -36,7 +36,7 @@ ts-smokeping/
mkdir -p smokeping/config
```
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
- CAUTION: Changing `"${TS_CERT_DOMAIN}:443": false` to `true` will expose the service to the internet

View File

@@ -7,7 +7,6 @@ services:
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
- TS_STATE_DIR=/var/lib/tailscale
- TS_SERVE_CONFIG=/config/serve.json
- TS_EXTRA_ARGS=--advertise-exit-node
volumes:
- ./tailscale/tailscale-data:/var/lib/tailscale
- ./tailscale/config:/config
@@ -23,8 +22,7 @@ services:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
#commenting the following line is simpler for single node usage
#- MASTER_URL=http://127.0.0.1:80/smokeping/ #optional
- MASTER_URL=http://127.0.0.1:80/smokeping/ #optional
- SHARED_SECRET=password #optional
- CACHE_DIR=/tmp #optional
volumes: