From f396dcca3e6fdf8fc5ca7c9ba39c216209179976 Mon Sep 17 00:00:00 2001 From: ben-2357 <123012900+ben-2357@users.noreply.github.com> Date: Mon, 4 Mar 2024 21:15:04 -0600 Subject: [PATCH] I've commented out Caddy in the docker-compose.yaml file and included a message describing the security vulnerabilities associated with enabling it. --- deployment/docker/docker-compose.yaml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/deployment/docker/docker-compose.yaml b/deployment/docker/docker-compose.yaml index 48fe8ba..a9c224d 100644 --- a/deployment/docker/docker-compose.yaml +++ b/deployment/docker/docker-compose.yaml @@ -127,19 +127,20 @@ services: <<: *knightcrawler-app networks: - knightcrawler-network - - caddy: - image: caddy:latest - restart: unless-stopped - ports: - - "80:80" - - "443:443" - - "443:443/udp" - volumes: - - ./Caddyfile:/etc/caddy/Caddyfile - - ./site:/srv - - caddy_data:/data - - caddy_config:/config + +# Remove the #'s to activate Caddy for external access. Please note that this action may pose security vulnerabilities and potential damage for which Knightcrawler and its contributors cannot be held responsible. +# caddy: +# image: caddy:latest +# restart: unless-stopped +# ports: +# - "80:80" +# - "443:443" +# - "443:443/udp" +# volumes: +# - ./Caddyfile:/etc/caddy/Caddyfile +# - ./site:/srv +# - caddy_data:/data +# - caddy_config:/config networks: knightcrawler-network: