docker: add caddy setup for testing
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user