# SWAG reverse-proxy integration The default Compose stack does not require SWAG. If the project chooses this hosting pattern, combine `docker-compose.yml` with `ops/swag/docker-compose.swag.yml` after configuring the external network named by `SWAG_NETWORK` (default: `swagnet`). SWAG terminates TLS and proxies the public hostname to `nginx:80`; the application nginx container serves the React build and forwards `/api/` to the private API service. Copy `app.subdomain.conf.sample` into the SWAG `nginx/proxy-confs/` directory, replace the placeholder domain settings using normal SWAG conventions, and restart or reload SWAG. The exact SWAG filesystem location is a server concern and is intentionally not encoded in this repository. Do not expose MySQL publicly. The loopback API and frontend port mappings exist for server-local health diagnostics; SWAG should reach the frontend by Docker service name over the external network.