generated from DAM/ts-TEMPLATE
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e1472dba30 |
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,6 +0,0 @@
|
||||
.env
|
||||
.env.*
|
||||
*.key
|
||||
tskey-*
|
||||
authkey*
|
||||
tailscale/tailscale-data/
|
||||
@@ -36,7 +36,7 @@ ts-smokeping/
|
||||
mkdir -p smokeping/config
|
||||
```
|
||||
3. Configure Tailscale
|
||||
- Make sure `TS_AUTHKEY` and `TS_LOGIN_SERVER` are set in your environment (or a local .env file) before running docker compose.
|
||||
- Replace `{{YOUR_TAILSCALE_AUTHKEY}}` in the docker-compose.yml with your actual Tailscale auth key
|
||||
- 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
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ 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
|
||||
@@ -22,7 +23,8 @@ services:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- MASTER_URL=http://127.0.0.1:80/smokeping/ #optional
|
||||
#commenting the following line is simpler for single node usage
|
||||
#- MASTER_URL=http://127.0.0.1:80/smokeping/ #optional
|
||||
- SHARED_SECRET=password #optional
|
||||
- CACHE_DIR=/tmp #optional
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user