Skip to content

Commit 98b5988

Browse files
CopilotSulstice
andcommitted
Add security warnings for default passwords in env.template
Co-authored-by: Sulstice <11812946+Sulstice@users.noreply.github.com>
1 parent a8086d1 commit 98b5988

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

env.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# ----------------------------------------------------------------------------
99
# PostgreSQL Database Configuration
1010
# ----------------------------------------------------------------------------
11+
# WARNING: Change these default passwords in production!
1112
POSTGRES_USER=postgres
1213
POSTGRES_PASSWORD=postgres
1314
POSTGRES_DB=brainkb
@@ -30,6 +31,7 @@ DB_PORT=5432
3031
DJANGO_SUPERUSER_USERNAME=admin
3132
DJANGO_SUPERUSER_EMAIL=admin@brainkb.org
3233
DJANGO_SUPERUSER_PASSWORD=admin
34+
# WARNING: Change this secret key in production! Use Django's get_random_secret_key()
3335
BRAINYPEDIA_APITOKEN_MANAGER_SECRET_KEY=django-insecure-default-key-change-in-production
3436

3537
# ----------------------------------------------------------------------------
@@ -56,6 +58,7 @@ JWT_ALGORITHM=HS256
5658
# ----------------------------------------------------------------------------
5759
# Each service has its own JWT secret key to prevent tokens from one service
5860
# from being used to authenticate with another service
61+
# WARNING: Change these JWT secret keys in production! Use strong random values
5962
QUERY_SERVICE_JWT_SECRET_KEY=query-service-jwt-secret-key-default
6063
ML_SERVICE_JWT_SECRET_KEY=ml-service-jwt-secret-key-default
6164

@@ -80,6 +83,7 @@ PGADMIN_PORT=5051
8083
# ----------------------------------------------------------------------------
8184
# Oxigraph SPARQL Database Configuration
8285
# ----------------------------------------------------------------------------
86+
# WARNING: Change these default passwords in production!
8387
OXIGRAPH_USER=admin
8488
OXIGRAPH_PASSWORD=admin
8589

@@ -106,6 +110,7 @@ WEB_CONCURRENCY=6
106110
# ----------------------------------------------------------------------------
107111
# pgAdmin Configuration (Optional - for PostgreSQL management)
108112
# ----------------------------------------------------------------------------
113+
# WARNING: Change these default passwords in production!
109114
PGADMIN_DEFAULT_EMAIL=admin@brainkb.org
110115
PGADMIN_DEFAULT_PASSWORD=admin
111116
PGADMIN_SERVER_NAME=BrainKB PostgreSQL

0 commit comments

Comments
 (0)