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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user