forked from McMaster-FAST/backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.env
More file actions
36 lines (29 loc) · 1.08 KB
/
sample.env
File metadata and controls
36 lines (29 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This is a sample environment file.
# Copy this file to .env and fill in your actual values.
# The .env file should be in your .gitignore and NEVER committed.
# Is not needed for development, will default a placeholder value
SECRET_KEY="your-super-secret-django-key-goes-here"
# DEBUG by default is false
DEBUG=True
LOG_LEVEL=WARN
# The URL of your Next.js frontend (for CORS)
ALLOWED_ORIGIN="http://localhost:3000"
# OIDC environment Configuration
# Can be found pinned in our teams channel, will have to find a place to store these securely for long term
ENTRA_TENANT_ID=""
OIDC_RP_CLIENT_ID=""
OIDC_RP_CLIENT_SECRET=""
# --- Database Configuration (PostgreSQL) ---
# Database name
POSTGRES_DB=mc-fast
# Database user
POSTGRES_USER=postgres
# Database password
POSTGRES_PASSWORD="your-db-password-here"
# Full database connection URL
# Format: postgresql://USER:PASSWORD@HOST:PORT/DATABASE
# For Docker: use 'db' as HOST (service name in docker-compose.yaml)
DATABASE_URL=postgresql://postgres:your-db-password-here@db:5432/mc-fast
# RabbitMQ Creds
RABBITMQ_USER=myuser
RABBITMQ_PASSWORD=mypassword