generated from DAM/ts-TEMPLATE
fix: use TS_AUTHKEY and TS_LOGIN_SERVER environment variables
- docker-compose.yml: read authkey and login server from env - README.md: updated instructions to use env vars instead of editing the file - Added .gitignore for secrets and Tailscale state
This commit is contained in:
@@ -4,7 +4,8 @@ services:
|
||||
hostname: {{service}}
|
||||
container_name: {{service}}-ts
|
||||
environment:
|
||||
- TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}}
|
||||
- TS_AUTHKEY=${TS_AUTHKEY}
|
||||
- TS_LOGIN_SERVER=${TS_LOGIN_SERVER}
|
||||
- TS_STATE_DIR=/var/lib/tailscale
|
||||
- TS_SERVE_CONFIG=/config/serve.json
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user