Logo
Explore Help
Sign In
gortium/compose
1
1
Fork 0
You've already forked compose
Code Issues Pull Requests 18 Actions Packages Projects Releases Wiki Activity
Files
env-vars-for-domain
compose/.env.production

5 lines
135 B
Plaintext
Raw Permalink Normal View History

refactor: use $DOMAIN env var instead of hardcoded lazyworkhorse.net Replace all hardcoded lazyworkhorse.net references in compose files with ${DOMAIN} variable substitution. Create .env.production and .env.staging environment files. Update Makefile with ENV selection (--env-file support) and staging/production targets. Changes: - All 13 compose YAML files: lazyworkhorse.net -> ${DOMAIN} - New .env.production (DOMAIN=lazyworkhorse.net) - New .env.staging (DOMAIN=staging.lazyworkhorse.net) - Makefile: ENV var, --env-file flag, staging/production targets - Gitea redirect regex updated for variable substitution - CI workflow checkout URLs left hardcoded (infrastructure refs) - Dockerfile SSH host refs left hardcoded (infrastructure refs) Deploy: make ENV=staging all_up or make staging make ENV=production all_up or make production
2026-05-20 14:20:44 -04:00
# Production environment
# docker compose --env-file .env.production up -d
DOMAIN=lazyworkhorse.net
SITE_URL=https://lazyworkhorse.net
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.4 Page: 73ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API