docker: add caddy setup for testing

This commit is contained in:
2025-07-20 23:51:29 -06:00
parent ac67658ad2
commit a01ec82833
2 changed files with 51 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
localhost:64444 {
tls internal
# Proxy /config path to proxy
reverse_proxy /api/* https://127.0.0.1:3000 {
transport http {
tls
tls_insecure_skip_verify
}
}
# Proxy root path to dev server
reverse_proxy http://localhost:5173
}
+36
View File
@@ -0,0 +1,36 @@
services:
caddy:
image: caddy:latest
ports:
- "64444:64444/tcp"
- "64444:64444/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
network_mode: host
## mumble-web2-proxy:
## image: rust:latest
## working_dir: /app
## volumes:
## - ..:/app
## - ./proxy-config.toml:/app/config.toml
## ports:
## - "4433:4433/tcp"
## - "4433:4433/udp"
## command: ["cargo", "run", "-p", "mumble-web2-proxy"]
## network_mode: host
##
## mumble-server:
## image: mumblevoip/mumble-server:latest
## ports:
## - "64738:64738/tcp"
## - "64738:64738/udp"
## environment:
## - MUMBLE_CONFIG_WELCOMETEXT=Welcome to the Mumble server
## network_mode: host
#volumes:
# caddy_data:
# caddy_config:
#
#networks:
# app-network:
# driver: bridge