feat: make SITE_URL and SITE_DOMAIN dynamic via .env and docker compose

- Create .env and .env.example with SITE_DOMAIN=riverrooks.dev and SITE_URL=https://riverrooks.dev
- Migrate src/_data/site.json to src/_data/site.js reading environment variables dynamically
- Update subdomains across Forgejo, CyberChef, Stirling PDF, and Uptime Kuma to inherit site.domain
- Update docker-compose.yml and Dockerfile to accept dynamic SITE_URL and SITE_DOMAIN build args
- Add .env to .gitignore
This commit is contained in:
venus
2026-09-13 01:10:20 -05:00
parent b13a50ccee
commit 1491d3fa5c
8 changed files with 130 additions and 81 deletions
+4
View File
@@ -0,0 +1,4 @@
# River Rooks Blog Environment Template
# Copy to .env and adjust variables as needed:
SITE_DOMAIN=riverrooks.dev
SITE_URL=https://riverrooks.dev