Files
rxminder/.env.example
William Valentin e48adbcb00 Initial commit: Complete NodeJS-native setup
- Migrated from Python pre-commit to NodeJS-native solution
- Reorganized documentation structure
- Set up Husky + lint-staged for efficient pre-commit hooks
- Fixed Dockerfile healthcheck issue
- Added comprehensive documentation index
2025-09-06 01:42:48 -07:00

88 lines
2.9 KiB
Plaintext

# Environment Configuration Template
# Copy this file to .env and fill in your actual values
# DO NOT commit .env to version control
# Application Name (used in Kubernetes labels and branding)
APP_NAME=rxminder
# Docker Image Configuration
# Examples:
# - Local registry: localhost:5000/rxminder:latest
# - Docker Hub: rxminder/rxminder:v1.0.0
# - GitHub Container Registry: ghcr.io/username/rxminder:latest
# - AWS ECR: 123456789012.dkr.ecr.us-west-2.amazonaws.com/rxminder:latest
DOCKER_IMAGE=gitea-http.taildb3494.ts.net/will/meds:latest
# CouchDB Configuration
COUCHDB_USER=admin
COUCHDB_PASSWORD=change-this-secure-password
VITE_COUCHDB_URL=http://localhost:5984
VITE_COUCHDB_USER=admin
VITE_COUCHDB_PASSWORD=change-this-secure-password
# Application Configuration
# Base URL for your application (used in email links)
# Development: http://localhost:5173
# Production: https://your-domain.com
APP_BASE_URL=http://localhost:5173
# Kubernetes Ingress Configuration
# Host for Kubernetes ingress (used in deployment)
# Examples: app.rxminder.192.168.1.100.nip.io, rxminder.yourdomain.com
INGRESS_HOST=app.rxminder.192.168.1.100.nip.io
# Kubernetes Storage Configuration
# Storage class for PersistentVolumeClaims
# Common options: longhorn, local-path, standard, gp2, fast-ssd
STORAGE_CLASS=longhorn
# Storage size for CouchDB data
# Examples: 1Gi, 5Gi, 10Gi, 100Gi
STORAGE_SIZE=5Gi
# Mailgun Email Configuration
MAILGUN_API_KEY=your-mailgun-api-key-here
MAILGUN_DOMAIN=your-domain.com
MAILGUN_FROM_EMAIL=noreply@your-domain.com
# Production-specific settings
NODE_ENV=development
# Optional: External CouchDB for production
# VITE_COUCHDB_URL=https://your-couchdb-instance.com:5984
# VITE_COUCHDB_USER=production-user
# VITE_COUCHDB_PASSWORD=super-secure-production-password
# OAuth Configuration (Optional - for production OAuth)
VITE_GOOGLE_CLIENT_ID=your_google_client_id_here
VITE_GITHUB_CLIENT_ID=your_github_client_id_here
# ============================================================================
# CONTAINER REGISTRY CONFIGURATION
# ============================================================================
# Container registry for Docker images
# Examples:
# - GitHub Container Registry: ghcr.io
# - GitLab Container Registry: registry.gitlab.com
# - Gitea Container Registry: gitea.yourdomain.com
# - Docker Hub: docker.io (or leave empty)
CONTAINER_REGISTRY=ghcr.io
# Repository name for container images
# Format: username/repository-name or organization/repository-name
CONTAINER_REPOSITORY=yourusername/rxminder
# Gitea-specific settings
# Repository name in Gitea (alternative to CONTAINER_REPOSITORY)
GITEA_REPOSITORY=yourusername/rxminder
# ============================================================================
# CI/CD CONFIGURATION
# ============================================================================
# Deployment webhook URL for notifications (optional)
DEPLOYMENT_WEBHOOK_URL=
# Image cleanup settings
CLEANUP_OLD_IMAGES=true