mirror of
https://github.com/Theodor-Springmann-Stiftung/server-package.git
synced 2025-10-28 16:55:31 +00:00
+tss +hamann-ausgabe
This commit is contained in:
5
caddy/Caddyfile
Normal file
5
caddy/Caddyfile
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
email it@tss-hd.de
|
||||
}
|
||||
|
||||
import sites/*
|
||||
27
caddy/docker-compose.yml
Normal file
27
caddy/docker-compose.yml
Normal 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:
|
||||
7
caddy/sites/dev.hamann-ausgabe.de
Normal file
7
caddy/sites/dev.hamann-ausgabe.de
Normal 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
|
||||
}
|
||||
7
caddy/sites/hamann-ausgabe.de
Normal file
7
caddy/sites/hamann-ausgabe.de
Normal file
@@ -0,0 +1,7 @@
|
||||
www.hamann-ausgabe.de {
|
||||
redir https://hamann-ausgabe.de{uri}
|
||||
}
|
||||
|
||||
hamann-ausgabe.de {
|
||||
reverse_proxy hamannservice:5000
|
||||
}
|
||||
7
caddy/sites/theodor-springmann-stiftung.de
Normal file
7
caddy/sites/theodor-springmann-stiftung.de
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user