feat: Add APP_NAME env support for branding and deployment
- Make app name configurable via APP_NAME env variable - Update UI, HTML, Docker, scripts, and k8s to use APP_NAME - Add process-html.sh for template substitution - Document APP_NAME usage in docs/APP_NAME_CONFIGURATION.md - Update Dockerfile, compose, and scripts for dynamic naming - Add index.html.template for environment-based branding
This commit is contained in:
@@ -5,6 +5,8 @@ services:
|
||||
context: ..
|
||||
dockerfile: docker/Dockerfile
|
||||
args:
|
||||
# Application Configuration
|
||||
- APP_NAME=${APP_NAME:-RxMinder}
|
||||
# CouchDB Configuration
|
||||
- VITE_COUCHDB_URL=${VITE_COUCHDB_URL:-http://couchdb:5984}
|
||||
- VITE_COUCHDB_USER=${VITE_COUCHDB_USER:-admin}
|
||||
@@ -36,6 +38,7 @@ services:
|
||||
labels:
|
||||
- 'monitoring=true'
|
||||
- 'service=frontend'
|
||||
- 'app=${APP_NAME:-meds}'
|
||||
|
||||
# CouchDB service
|
||||
couchdb:
|
||||
@@ -56,6 +59,7 @@ services:
|
||||
labels:
|
||||
- 'monitoring=true'
|
||||
- 'service=couchdb'
|
||||
- 'app=${APP_NAME:-meds}'
|
||||
|
||||
# Redis service (commented out as per requirements)
|
||||
# redis:
|
||||
|
||||
Reference in New Issue
Block a user