I've commented out Caddy in the docker-compose.yaml file and included a message describing the security vulnerabilities associated with enabling it.

This commit is contained in:
ben-2357
2024-03-04 21:15:04 -06:00
committed by GitHub
parent 6f3315ae0f
commit f396dcca3e

View File

@@ -127,19 +127,20 @@ services:
<<: *knightcrawler-app <<: *knightcrawler-app
networks: networks:
- knightcrawler-network - knightcrawler-network
caddy: # 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.
image: caddy:latest # caddy:
restart: unless-stopped # image: caddy:latest
ports: # restart: unless-stopped
- "80:80" # ports:
- "443:443" # - "80:80"
- "443:443/udp" # - "443:443"
volumes: # - "443:443/udp"
- ./Caddyfile:/etc/caddy/Caddyfile # volumes:
- ./site:/srv # - ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data # - ./site:/srv
- caddy_config:/config # - caddy_data:/data
# - caddy_config:/config
networks: networks:
knightcrawler-network: knightcrawler-network: