We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7796ede commit fb70a66Copy full SHA for fb70a66
1 file changed
docs/bluegreen.md
@@ -6,6 +6,15 @@ near-zero downtime and easy rollback.
6
7
## 1. Caddy
8
9
+### Set the Caddy container name explicitly
10
+
11
+This allows us to switch between the two stacks:
12
13
+```yaml title="compose.yaml"
14
+caddy:
15
+ container_name: ${STACK_NAME}_caddy
16
+```
17
18
### Remove exposed ports
19
20
Remove the `caddy` service's `ports:` section in `compose.yaml`.
@@ -24,15 +33,6 @@ caddy:
24
33
CADDY_SITE_ADDRESS: :80
25
34
```
26
35
27
-### Set the Caddy container name explicitly
28
-
29
-This allows us to switch between the two stacks:
30
31
-```yaml title="compose.yaml"
32
-caddy:
- container_name: ${STACK_NAME}_caddy
-```
36
## 2. Postgres
37
38
Running two separate PostgreSQL instances and having them both simultaneously
0 commit comments