Deployment
Deployment
The docs site is part of the onebrick-stack Compose deployment. It builds a
static Zudoku site and serves it from an nginx container named docs-site.
Caddy terminates TLS and routes docs.onebrick.io to that container.
Local Build
From deploy/docs-site:
Code
The production build writes static assets to dist.
EC2 Deployment
The production deploy root is:
Code
After syncing the updated deploy folder to EC2:
Code
Verify:
Code
DNS for docs.onebrick.io must point to the same EC2 Elastic IP as the other
OneBrick stack domains, and inbound ports 80 and 443 must remain open.
Last modified on
