From b37096ffa05d8ad8dc5d2c3498723946d89599db Mon Sep 17 00:00:00 2001 From: arcbjorn Date: Sat, 29 Oct 2022 16:25:23 -0300 Subject: [PATCH] feat(Caddy): configure Dashboard site location --- caddy/Caddyfile | 2 +- caddy/docker-compose.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 81a13a0..46a604d 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -27,7 +27,7 @@ server.arcbjorn.com { } dashboard.arcbjorn.com { - root * /containers/dashboard + root * /static/dashboard.arcbjorn.com file_server { hide .git } diff --git a/caddy/docker-compose.yaml b/caddy/docker-compose.yaml index 0c01c52..ae4dacc 100644 --- a/caddy/docker-compose.yaml +++ b/caddy/docker-compose.yaml @@ -24,6 +24,9 @@ services: - /root/containers/caddy/Caddyfile:/etc/caddy/Caddyfile - /root/containers/caddy/data:/data/caddy - /root/containers/caddy/config:/config/caddy + + # static websites + - /root/static/dashboard.arcbjorn.com:/static/dashboard.arcbjorn.com ports: - 80:80 - 443:443