fix(caddy): add CADDY_HTTP_ADDRESSES to caddy services environment variable + fix change the port of pepot-frontend from 80 to 8080

This commit is contained in:
2026-03-19 05:24:56 +08:00
parent e1cb32cf97
commit fca379b40b
2 changed files with 3 additions and 2 deletions

View File

@@ -1,8 +1,8 @@
{$CADDY_SITE_ADDRESS} {
tls /etc/caddy/certs/fullchain.pem /etc/caddy/certs/private.key
reverse_proxy penpot-frontend:80
reverse_proxy penpot-frontend:8080
}
{$CADDY_HTTP_ADDRESSES:http://caddy} {
reverse_proxy penpot-frontend:80
reverse_proxy penpot-frontend:8080
}

View File

@@ -23,6 +23,7 @@ services:
- ./config/certs:/etc/caddy/certs
environment:
- CADDY_SITE_ADDRESS=${CADDY_SITE_ADDRESS}
- CADDY_HTTP_ADDRESSES=${CADDY_HTTP_ADDRESSES}
networks:
- penpot
depends_on: