containers/headscale/app.sh
Peter Cai 197adfeddb headscale: refactor container to include headscale-ui
fly.io now charges for dedicated IP. gRPC requires a dedicated port (or
a lot of fiddling), so let's just use headscale-ui from now on.
2024-01-29 22:11:24 -05:00

9 lines
194 B
Bash

#!/bin/sh
touch /var/lib/headscale/db.sqlite
mkdir /var/lib/headscale/.cache
mkdir -p /var/run/headscale
caddy run --config /etc/Caddyfile &
exec headscale -c /etc/headscale/config.yaml serve