OPC # 0001: Extract gateway into standalone repo

This commit is contained in:
amadzarak
2026-04-25 17:27:47 -04:00
commit 6accc7ca25
10 changed files with 224 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# gateway
Nginx reverse proxy + Dnsmasq DNS resolver for the ClarityStack local dev environment.
## Structure
```
gateway/
├── nginx/
│ ├── nginx.conf
│ ├── conf.d/ # per-service virtual host configs
│ ├── clarity.test.crt
│ └── clarity.test.key
├── dnsmasq/
│ └── dnsmasq.conf # resolves *.clarity.test → 127.0.0.1
└── docker-compose.yml
```
## Usage
```bash
docker compose up -d
```
Requires the external Docker network `clarity-net` to exist:
```bash
docker network create clarity-net
```
## OPC #0039
Extracted from the original monorepo `infra/` as a standalone composable unit.