#!/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 # Start GoAccess real-time dashboard /app/goaccess.sh & # Start nginx /usr/sbin/nginx -c /etc/nginx/nginx.conf -g 'daemon off;'