diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 5e290d3..c7087d6 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -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 diff --git a/caddy/services/headscale.caddy b/caddy/services/headscale.caddy new file mode 100644 index 0000000..3279d48 --- /dev/null +++ b/caddy/services/headscale.caddy @@ -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 diff --git a/caddy/services/pterodactyl-panel.caddy b/caddy/services/pterodactyl-panel.caddy index fd30ac5..c21eb34 100644 --- a/caddy/services/pterodactyl-panel.caddy +++ b/caddy/services/pterodactyl-panel.caddy @@ -3,4 +3,8 @@ panel.mixel.cloud { reverse_proxy 192.168.178.4:8002 } -# Internal \ No newline at end of file +# Internal + +panel.tower.local { + reverse_proxy 192.168.178.4:8002 +} \ No newline at end of file diff --git a/headscale/.env.example b/headscale/.env.example new file mode 100644 index 0000000..e69de29 diff --git a/headscale/compose.yml b/headscale/compose.yml new file mode 100644 index 0000000..0dd0c72 --- /dev/null +++ b/headscale/compose.yml @@ -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 \ No newline at end of file diff --git a/minio/.env.example b/minio/.env.example new file mode 100644 index 0000000..e69de29 diff --git a/minio/compose.yml b/minio/compose.yml new file mode 100644 index 0000000..e69de29