never forget either

Caddyfile,
Firewall,
Docker compose
ALL can fail
This commit is contained in:
Mika Bomm 2024-08-05 18:34:16 +02:00
parent 87683fb70f
commit 4bc7c8949c
2 changed files with 9 additions and 4 deletions

View file

@ -1,8 +1,10 @@
# GLOBAL CONFIGURATIONS
{
#Define default port to reverse proxy on to 81 / 444 since 80 / 443 is already used
http_port 81
https_port 444
#http_port 81
#https_port 444
http_port 80
https_port 443
email {$CADDY_ACME_EMAIL}
acme_dns porkbun {

View file

@ -6,8 +6,11 @@ services:
restart: unless-stopped
container_name: caddy
ports:
- "81:81"
- "444:444"
- "80:80"
- "443:443"
# Leftover from the Nginx proxy manager times
#- "81:81"
#- "444:444"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./site:/srv