This commit is contained in:
Mika Bomm 2024-09-05 15:30:40 +02:00
parent a6e25bae8c
commit cee0bafc22
7 changed files with 49 additions and 5 deletions

View file

@ -12,13 +12,15 @@
api_secret_key {$PORKBUN_API_SECRET_KEY}
}
# Used for Debugging
# This will request a certificate from staging and not from prod
# Staging has a higher rate limit
# acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
# Certificates from letsencrypt
acme_ca https://acme-v02.api.letsencrypt.org/directory # Production - lower rate limit
# acme_ca https://acme-staging-v02.api.letsencrypt.org/directory - Staging - higher rate limit
# This makes every subdomain used for http only
# auto_https off
# Toggles the Debug flag
debug
}
# SNIPPETS

View file

@ -0,0 +1,17 @@
# External
https://hs.mixel.cloud {
reverse_proxy /web* https://headscale-ui {
transport http {
tls_insecure_skip_verify
}
}
reverse_proxy * http://headscale:8080
}
https://headscale-ui {
reverse_proxy 192.168.178.230:9443
tls internal
}
# Internal

View file

@ -3,4 +3,8 @@ panel.mixel.cloud {
reverse_proxy 192.168.178.4:8002
}
# Internal
# Internal
panel.tower.local {
reverse_proxy 192.168.178.4:8002
}

0
headscale/.env.example Normal file
View file

21
headscale/compose.yml Normal file
View file

@ -0,0 +1,21 @@
services:
headscale:
image: headscale/headscale:v0.23.0-beta1
restart: unless-stopped
container_name: headscale
ports:
- "0.0.0.0:8080:8080"
- "0.0.0.0:9090:9090"
volumes:
# pls change [config_path] to the fullpath of the config folder just created
- /opt/stacks/headscale/config:/etc/headscale
- ./lib:/var/lib
- ./run:/var/run
command: serve # headscale server
headscale-ui:
image: ghcr.io/gurucomputing/headscale-ui:latest
restart: unless-stopped
container_name: headscale-ui
ports:
- 9443:443

0
minio/.env.example Normal file
View file

0
minio/compose.yml Normal file
View file