+tss +hamann-ausgabe

This commit is contained in:
TSS
2025-10-01 13:29:16 +00:00
parent 3dbfe09ce4
commit 4c2f91e507
5 changed files with 53 additions and 0 deletions

5
caddy/Caddyfile Normal file
View File

@@ -0,0 +1,5 @@
{
email it@tss-hd.de
}
import sites/*

27
caddy/docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
services:
caddy:
# Use the official Caddy image
image: docker.io/library/caddy:latest
# Always restart the container unless it's manually stopped
restart: unless-stopped
ports:
- "80:80"
- "443:443"
# HTTP3:
- "443:443/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./sites:/etc/caddy/sites
- caddy_data:/data
- caddy_config:/config
networks:
- caddynet
networks:
caddynet:
external: true
# Define the named volumes for persistent storage
volumes:
caddy_data:
caddy_config:

View File

@@ -0,0 +1,7 @@
www.dev.hamann-ausgabe.de {
redir https://dev.hamann-ausgabe.de{uri}
}
dev.hamann-ausgabe.de {
reverse_proxy hamannstaging:5000
}

View File

@@ -0,0 +1,7 @@
www.hamann-ausgabe.de {
redir https://hamann-ausgabe.de{uri}
}
hamann-ausgabe.de {
reverse_proxy hamannservice:5000
}

View File

@@ -0,0 +1,7 @@
www.theodor-springmann-stiftung.de, www.tss-hd.de, tss-hd.de {
redir https://theodor-springmann-stiftung.de{uri}
}
theodor-springmann-stiftung.de {
reverse_proxy tsssite:80
}