34 lines
676 B
Markdown
34 lines
676 B
Markdown
# 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.
|