refactor(patrizio): move tailscale environment to dedicated env file

Replace inline environment variable with env_file reference for better
configuration management. Remove redundant tailscaled command as it's
the default entrypoint.
This commit is contained in:
Davide Polonio 2026-04-06 19:11:42 +02:00
parent 03d882907d
commit 52313faac2

View File

@ -20,8 +20,8 @@ services:
hostname: patrizio hostname: patrizio
image: tailscale/tailscale:latest image: tailscale/tailscale:latest
restart: unless-stopped restart: unless-stopped
environment: env_file:
- TS_ACCEPT_DNS=true - tailscale.env
healthcheck: healthcheck:
test: ["CMD-SHELL", "tailscale status"] test: ["CMD-SHELL", "tailscale status"]
interval: 1s interval: 1s
@ -36,7 +36,6 @@ services:
- net_admin - net_admin
- sys_module - sys_module
- net_raw - net_raw
command: tailscaled
logging: logging:
driver: "json-file" driver: "json-file"
options: options: