forked from DAM/ts-smokeping
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2fb3b5032e |
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
*.key
|
||||||
|
tskey-*
|
||||||
|
authkey*
|
||||||
|
tailscale/tailscale-data/
|
||||||
@@ -36,7 +36,7 @@ ts-smokeping/
|
|||||||
mkdir -p smokeping/config
|
mkdir -p smokeping/config
|
||||||
```
|
```
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ services:
|
|||||||
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
|
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
|
||||||
- TS_STATE_DIR=/var/lib/tailscale
|
- TS_STATE_DIR=/var/lib/tailscale
|
||||||
- TS_SERVE_CONFIG=/config/serve.json
|
- TS_SERVE_CONFIG=/config/serve.json
|
||||||
- TS_EXTRA_ARGS=--advertise-exit-node
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./tailscale/tailscale-data:/var/lib/tailscale
|
- ./tailscale/tailscale-data:/var/lib/tailscale
|
||||||
- ./tailscale/config:/config
|
- ./tailscale/config:/config
|
||||||
@@ -23,8 +22,7 @@ services:
|
|||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Etc/UTC
|
- 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
|
- SHARED_SECRET=password #optional
|
||||||
- CACHE_DIR=/tmp #optional
|
- CACHE_DIR=/tmp #optional
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user