2026-10-23T16:47:06+00:00
This commit is contained in:
1 parent
f8e60e5410
commit
b9a46ffe80
6 files changed
+38
-48
No files matched your search
+13
-11
@@ -19,6 +19,17 @@ vpn.veltko.de {
|
|||||||
reverse_proxy * http://headscale:8080
|
reverse_proxy * http://headscale:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
|
headplane.veltko.de {
|
||||||
|
tls {
|
||||||
|
client_auth {
|
||||||
|
mode require_and_verify
|
||||||
|
trust_pool file /data/custom_certs/ca.crt
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
reverse_proxy http://headplane:3000
|
||||||
|
}
|
||||||
|
|
||||||
copyparty.veltko.de {
|
copyparty.veltko.de {
|
||||||
reverse_proxy * http://copyparty:3923
|
reverse_proxy * http://copyparty:3923
|
||||||
}
|
}
|
||||||
@@ -42,17 +53,9 @@ git.veltko.de {
|
|||||||
reverse_proxy http://10.10.0.135:30008
|
reverse_proxy http://10.10.0.135:30008
|
||||||
}
|
}
|
||||||
|
|
||||||
cloud.veltko.de {
|
|
||||||
reverse_proxy https://10.10.0.135:30259 {
|
|
||||||
transport http {
|
|
||||||
#FIXME: this should really be replaced by a proper cert :(
|
|
||||||
tls_insecure_skip_verify
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
docs.veltko.de {
|
split.veltko.de {
|
||||||
reverse_proxy http://10.10.0.135:9980
|
reverse_proxy http://10.10.0.135:30420
|
||||||
}
|
}
|
||||||
|
|
||||||
vaultwarden.veltko.de {
|
vaultwarden.veltko.de {
|
||||||
@@ -70,4 +73,3 @@ vaultwarden.veltko.de {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
{
|
|
||||||
"tagOwners": {
|
|
||||||
"tag:ferris": ["weckyy702@"]
|
|
||||||
},
|
|
||||||
|
|
||||||
"hosts": {
|
|
||||||
"duke.veltnet": "10.10.0.135/32",
|
|
||||||
"homenet": "10.10.0.0/16",
|
|
||||||
"homenet6": "fd55:6f39:8ba5::/60"
|
|
||||||
},
|
|
||||||
|
|
||||||
"acls": [
|
|
||||||
/*Untagged devices have access to everything*/
|
|
||||||
{
|
|
||||||
"action": "accept",
|
|
||||||
"src": ["autogroup:member"],
|
|
||||||
"dst": [
|
|
||||||
"autogroup:internet:*",
|
|
||||||
"autogroup:member:*",
|
|
||||||
"autogroup:tagged:*",
|
|
||||||
"homenet:*",
|
|
||||||
"homenet6:*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
/*Ferris can only access the services hosted on duke*/
|
|
||||||
{
|
|
||||||
"action": "accept",
|
|
||||||
"src": ["tag:ferris"],
|
|
||||||
"dst": [
|
|
||||||
"duke.veltnet:*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
# https://myheadscale.example.com:443
|
# https://myheadscale.example.com:443
|
||||||
#
|
#
|
||||||
server_url: https://vpn.veltko.de
|
server_url: "https://vpn.veltko.de"
|
||||||
|
|
||||||
# Address to listen to / bind to on the server
|
# Address to listen to / bind to on the server
|
||||||
#
|
#
|
||||||
@@ -29,7 +29,7 @@ listen_addr: 0.0.0.0:8080
|
|||||||
# valid certificates.
|
# valid certificates.
|
||||||
#
|
#
|
||||||
# For production:
|
# For production:
|
||||||
# grpc_listen_addr: 0.0.0.0:50443
|
#grpc_listen_addr: 0.0.0.0:50443
|
||||||
#grpc_listen_addr: 127.0.0.1:50443
|
#grpc_listen_addr: 127.0.0.1:50443
|
||||||
|
|
||||||
# Allow the gRPC admin interface to run in INSECURE
|
# Allow the gRPC admin interface to run in INSECURE
|
||||||
@@ -240,7 +240,7 @@ log:
|
|||||||
policy:
|
policy:
|
||||||
# The mode can be "file" or "database" that defines
|
# The mode can be "file" or "database" that defines
|
||||||
# where the ACL policies are stored and read from.
|
# where the ACL policies are stored and read from.
|
||||||
mode: file
|
mode: database
|
||||||
# If the mode is set to "file", the path to a
|
# If the mode is set to "file", the path to a
|
||||||
# HuJSON file containing ACL policies.
|
# HuJSON file containing ACL policies.
|
||||||
path: "/etc/headscale/acl.json"
|
path: "/etc/headscale/acl.json"
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
config/
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
services:
|
||||||
|
headplane:
|
||||||
|
image: "ghcr.io/tale/headplane:latest@sha256:7bd6523a14567a43eb4ffa1e95e3d95456b8539c9d081757df3f228b9e836fb5"
|
||||||
|
container_name: headplane
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- "./config:/etc/headplane:ro"
|
||||||
|
- "./data:/var/lib/headplane"
|
||||||
|
- "../01-headscale/config:/etc/headscale"
|
||||||
|
networks:
|
||||||
|
nw-caddy:
|
||||||
|
depends_on:
|
||||||
|
caddy:
|
||||||
|
condition: service_healthy
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "/bin/hp_healthcheck"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
start_period: 5s
|
||||||
|
retries: 3
|
||||||
@@ -3,6 +3,7 @@ include:
|
|||||||
- 01-headscale/docker-compose.yaml
|
- 01-headscale/docker-compose.yaml
|
||||||
- 02-copyparty/docker-compose.yaml
|
- 02-copyparty/docker-compose.yaml
|
||||||
- 03-uptime_kuma/docker-compose.yaml
|
- 03-uptime_kuma/docker-compose.yaml
|
||||||
|
- 04-headplane/docker-compose.yaml
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nw-caddy:
|
nw-caddy:
|
||||||
|
|||||||
Reference in new issue
Block a user