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:
@@ -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
|
||||
Reference in New Issue
Block a user