bajar memoria de tailscaled

This commit is contained in:
2025-10-06 16:27:01 -03:00
parent 145d045bab
commit a3ba08c2e9
3 changed files with 16 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
#!/bin/sh
# Set aggressive GC settings for Tailscale to reduce memory usage
export GOGC=10
export GOMEMLIMIT=100MiB
/app/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/var/run/tailscale/tailscaled.sock &
/app/tailscale up --authkey=${TAILSCALE_AUTHKEY} --hostname=reverseproxy