added caddy redirect and docker network for actionblock

This commit is contained in:
2026-10-23 19:16:17 +02:00
parent 548953e5df
commit 637e1237ec
2 changed files with 16 additions and 1 deletions
+9
View File
@@ -56,6 +56,15 @@ game.marvinkrausser.com {
reverse_proxy wizard_website:8082
}
# handle_path strips the prefix, so the backends see "/..." only.
handle_path /actionblocks/website /actionblocks/website/* {
reverse_proxy actionblocks-website:80
}
handle_path /actionblocks/server /actionblocks/server/* {
reverse_proxy actionblocks-server:8080
}
handle {
respond 404
}
+7 -1
View File
@@ -24,6 +24,8 @@ services:
- wizard_website
- wizard_api
- cloud_network
- actionBlocks_website
- actionBlocks_server
pull_policy: never
container_name: caddy_proxy
@@ -82,4 +84,8 @@ networks:
name: cloud_network
ipam:
config:
- subnet: 172.30.84.0/24
- subnet: 172.30.84.0/24
actionBlocks_website:
name: "actionBlocks_website"
actionBlocks_server:
name: "actionBlocks_server"