personal-servers/start.sh
2022-05-03 13:10:33 -03:00

6 lines
248 B
Bash
Executable File

#!/bin/sh
/app/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/var/run/tailscale/tailscaled.sock &
/app/tailscale up --authkey=${TAILSCALE_AUTHKEY} --hostname=reverseproxy
/usr/sbin/nginx -c /etc/nginx/nginx.conf -g 'daemon off;'