Skip to content

Commit 8643318

Browse files
authored
Update bluegreen.md
1 parent 5340cef commit 8643318

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

docs/bluegreen.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ stack", now there is:
1212
3. A front proxy to direct traffic
1313
4. An external Postgres.
1414

15-
16-
17-
1815
## 2. Adjust Caddy
1916

2017
### Name the Caddy containers
@@ -67,14 +64,16 @@ networks:
6764
external: true
6865
```
6966

70-
then in services that need db access:
67+
Then in services that need db access:
7168

7269
```yaml title="compose.yaml"
7370
networks:
74-
- default
7571
- shared
7672
```
7773

74+
Move Postgres out of compose.yaml into a shared-compose.yaml, adding the `shared` network:
75+
76+
7877
## 3. Volumes
7978

8079
To share data between the two stacks (uploads, etc.), give volumes explicit

0 commit comments

Comments
 (0)