-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenv.example
More file actions
60 lines (52 loc) · 2.56 KB
/
Copy pathenv.example
File metadata and controls
60 lines (52 loc) · 2.56 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# ==============================================================================
# Rasta Web Application - Environment Variables Example
# ==============================================================================
# Rename this file to .env and configure the variables for your environment.
# Never commit the actual .env file to version control.
# ------------------------------------------------------------------------------
# PostgreSQL Database Settings (Used by db container)
# ------------------------------------------------------------------------------
POSTGRES_DB=rasta_db
POSTGRES_USER=rasta_user
POSTGRES_PASSWORD=your_secure_db_password
# ------------------------------------------------------------------------------
# Django Settings
# ------------------------------------------------------------------------------
DJANGO_SETTINGS_MODULE=Rasta_Web.settings.production
RASTA_WEB_DEBUG=False
RASTA_WEB_SECRET_KEY=your_django_secret_key
# ------------------------------------------------------------------------------
# Django Database Settings (Must match PostgreSQL settings above)
# ------------------------------------------------------------------------------
DATABASE=postgres
DB_HOST=db
DB_PORT=5432
RASTA_WEB_DB_NAME=rasta_db
RASTA_WEB_DB_USER=rasta_user
RASTA_WEB_DB_PASS=your_secure_db_password
RASTA_WEB_DB_HOST=db
RASTA_WEB_DB_PORT=5432
# ------------------------------------------------------------------------------
# Celery & Redis Settings
# ------------------------------------------------------------------------------
RASTA_WEB_BROKER_URL=redis://redis:6379/0
RASTA_WEB_CELERY_RESULT_BACKEND=redis://redis:6379/0
# ------------------------------------------------------------------------------
# SSL / Nginx Settings
# ------------------------------------------------------------------------------
# SSL_TYPE options:
# - none : HTTP only (port 80)
# - certbot : Automated Let's Encrypt SSL configuration
# - custom : Manual Wildcard/Custom SSL certificates
SSL_TYPE=none
DOMAIN_NAME=example.com
# For SSL_TYPE=custom: Provide base64 encoded wildcard/custom SSL certificate and key
# Example command: cat wildcard.crt | base64 | tr -d '\n'
SSL_CERT_CONTENT_B64=
SSL_KEY_CONTENT_B64=
# ------------------------------------------------------------------------------
# Docker Image Settings (Optional - overrides default registry images)
# ------------------------------------------------------------------------------
# WEB_IMAGE=ghcr.io/imfardad/rasta-main-website-web:main
# NGINX_IMAGE=ghcr.io/imfardad/rasta-main-website-nginx:main