File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -13,24 +13,24 @@ Remove the `caddy` service's `ports:` section in `compose.yaml`.
1313We'll no longer expose ports in the stacks, instead a simple "front proxy" will
1414sit in front of the two stacks, proxying to the active stack.
1515
16- ### Set the Caddy container name explicitly
16+ ### Serve HTTP-only in the stacks
1717
18- This allows us to switch between the two stacks:
18+ Set ` CADDY_SITE_ADDRESS ` to only ` :80 ` , removing ` :443 ` (leaving TLS
19+ termination to the front proxy):
1920
2021``` yaml title="compose.yaml"
2122caddy :
22- container_name : ${STACK_NAME}_caddy
23+ environment :
24+ CADDY_SITE_ADDRESS : :80
2325` ` `
2426
25- ### Serve http-only in the stacks
27+ ### Set the Caddy container name explicitly
2628
27- Set ` CADDY_SITE_ADDRESS` to only `:80` (leaving TLS termination to the front
28- proxy) :
29+ This allows us to switch between the two stacks:
2930
3031` ` ` yaml title="compose.yaml"
3132caddy :
32- environment:
33- CADDY_SITE_ADDRESS: :80
33+ container_name : ${STACK_NAME}_caddy
3434` ` `
3535
3636### Move Postgres to its own unique container
You can’t perform that action at this time.
0 commit comments