Skip to content

Commit 5e2afa9

Browse files
committed
Add bluegreen.png
1 parent 68e5833 commit 5e2afa9

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

docs/assets/bluegreen.png

122 KB
Loading

docs/bluegreen.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Blue/Green Deployments
2-
31
Blue/Green deployment runs two stacks side-by-side: one live, one idle. You
42
deploy to the idle stack, test it, and when ready, swap roles — giving
53
near-zero downtime and easy rollback.
64

7-
## 1. Caddyfile
5+
![Blue/Green](../assets/bluegreen.png)
6+
7+
## 1. Adjustments to the Compose file
88

9-
Remove the exposed ports from Caddy by removing the `ports:` section in
9+
Remove the exposed ports by removing the Caddy `ports:` section in
1010
`compose.yaml`.
1111

1212
Set `CADDY_SITE_ADDRESS` to only `:80` (leaving TLS termination to the front
@@ -29,7 +29,7 @@ volumes:
2929
name: user-data
3030
```
3131
32-
## 2. Front Proxy
32+
## 2. Add a Front Proxy
3333
3434
The front proxy is a single Caddy container that binds `:80` and `:443` on the
3535
server and routes requests into either the Blue or Green stack.

docs/structure.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Build Your App
2+
3+
## Project Structure
4+
5+
```
6+
📁 bin/ → Helper scripts (e.g. wrappers for CLI tools)
7+
📁 caddy/ → Caddy configuration
8+
📁 docs/ → Markdown files for SuperStack documentation
9+
📁 postgres/ → Postgres configuration and SQL migrations
10+
📄 compose.yaml → Main Docker Compose config
11+
📄 compose.override.yaml → Optional local overrides (development only)
12+
📄 example.env → Example environment variables — copy to `.env`
13+
📄 LICENSE → License file (MIT)
14+
📄 logo.png → SuperStack logo for README/docs
15+
📄 README.md → Overview and quick start for the repository
16+
```

0 commit comments

Comments
 (0)