diff --git a/.env.sample b/.env.sample index 9c0782b..304f3d1 100644 --- a/.env.sample +++ b/.env.sample @@ -12,6 +12,7 @@ COMPOSE_FILE="compose.yml" # Defines the base domain to create the hostnames for MagicDNS. BASE_DOMAIN=f0x.lan + # set this to true to enable using the built-in DERP rather than tailscale's ENABLE_DERP=false @@ -19,4 +20,8 @@ ENABLE_DERP=false # OIDC_ENABLED=1 # OIDC_ISSUER=https://authentik.example # SECRET_OIDC_CLIENT_KEY_VERSION=v1 -# COMPOSE_FILE="$COMPOSE_FILE:compose.oidc.yml" \ No newline at end of file +# COMPOSE_FILE="$COMPOSE_FILE:compose.oidc.yml" + +# See https://git.coopcloud.tech/coop-cloud/backup-bot-two +ENABLE_BACKUPS=true + diff --git a/README.md b/README.md index e71115b..25a366e 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # headscale -> One line description of the recipe +> [Headscale](https://headscale.net/), the open-source, self-hosted, Tailscale VPN control server. * **Category**: Apps -* **Status**: 0 -* **Image**: [`headscale`](https://hub.docker.com/r/headscale), 4, upstream -* **Healthcheck**: No -* **Backups**: No -* **Email**: No +* **Status**: 3 +* **Image**: [`headscale/headscale`](https://hub.docker.com/r/headscale/headscale), 4, upstream +* **Healthcheck**: Yes +* **Backups**: Yes +* **Email**: N/A * **Tests**: No * **SSO**: No diff --git a/compose.yml b/compose.yml index 22f2dbe..d4b745d 100644 --- a/compose.yml +++ b/compose.yml @@ -20,11 +20,10 @@ services: - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - ## When you're ready for release, run "abra recipe sync " to set this - "coop-cloud.${STACK_NAME}.version=0.1.0+v0.28" - ## Enable backups: https://docs.coopcloud.tech/maintainers/handbook/#how-do-i-configure-backuprestore - # - "backupbot.backup=true" - # - "backupbot.backup.path=/some/path" + # Enable backups: https://docs.coopcloud.tech/maintainers/handbook/#how-do-i-configure-backuprestore + - "backupbot.backup=${ENABLE_BACKUPS:-true}" + - "backupbot.backup.path=/var/lib/headscale" healthcheck: test: ["CMD", "headscale", "health"] interval: 30s @@ -49,7 +48,6 @@ networks: external: true volumes: - # config: data: configs: diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..5db72dd --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ] +}