-
-
Notifications
You must be signed in to change notification settings - Fork 0
Make CTIAS Lab production-ready: Add configuration, validation, database, tests, and deployment docs #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make CTIAS Lab production-ready: Add configuration, validation, database, tests, and deployment docs #7
Changes from all commits
43fcc6f
378d30f
4c38ab5
4465054
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,56 @@ | ||||||||
| # CTIAS Lab Environment Configuration | ||||||||
| # Copy this file to .env and update with your actual values | ||||||||
|
|
||||||||
| # Database Configuration | ||||||||
| DATABASE_URL=postgresql://ctias:ctias_secure_password_change_me@postgres:5432/ctias_lab | ||||||||
| POSTGRES_DB=ctias_lab | ||||||||
| POSTGRES_USER=ctias | ||||||||
| POSTGRES_PASSWORD=ctias_secure_password_change_me | ||||||||
|
|
||||||||
| # Redis Configuration | ||||||||
| REDIS_URL=redis://redis:6379/0 | ||||||||
| REDIS_HOST=redis | ||||||||
| REDIS_PORT=6379 | ||||||||
|
|
||||||||
| # JWT & Security | ||||||||
| JWT_SECRET=your_jwt_secret_key_change_me_minimum_32_characters | ||||||||
|
||||||||
| JWT_SECRET=your_jwt_secret_key_change_me_minimum_32_characters | |
| # IMPORTANT: Set a strong, random JWT secret in your local .env file (at least 32+ characters). | |
| JWT_SECRET= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The .env.example file is missing the REDIS_PASSWORD environment variable, which is referenced in docs/DEPLOYMENT.md (lines 108, 119) for production deployments. This variable should be added to the template to ensure consistent configuration across environments.