fix: Update PostgreSQL password to strong password and prepare admin user creation
This commit is contained in:
@@ -69,7 +69,7 @@ SENTRY_ENVIRONMENT=production
|
||||
DATABASE_URL=postgresql://dociva:${POSTGRES_PASSWORD}@postgres:5432/dociva
|
||||
POSTGRES_DB=dociva
|
||||
POSTGRES_USER=dociva
|
||||
POSTGRES_PASSWORD=replace-with-strong-postgres-password
|
||||
POSTGRES_PASSWORD=6x3PjV4ghRTQuZ3Q
|
||||
|
||||
# Frontend
|
||||
VITE_SITE_DOMAIN=https://dociva.io
|
||||
|
||||
@@ -20,7 +20,7 @@ services:
|
||||
environment:
|
||||
- POSTGRES_DB=dociva
|
||||
- POSTGRES_USER=dociva
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-dociva_secret_password}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-6x3PjV4ghRTQuZ3Q}
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
@@ -44,7 +44,7 @@ services:
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
- CELERY_BROKER_URL=redis://redis:6379/0
|
||||
- CELERY_RESULT_BACKEND=redis://redis:6379/1
|
||||
- DATABASE_URL=postgresql://dociva:${POSTGRES_PASSWORD:-dociva_secret_password}@postgres:5432/dociva
|
||||
- DATABASE_URL=postgresql://dociva:${POSTGRES_PASSWORD:-6x3PjV4ghRTQuZ3Q}@postgres:5432/dociva
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- upload_data:/tmp/uploads
|
||||
@@ -73,7 +73,7 @@ services:
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
- CELERY_BROKER_URL=redis://redis:6379/0
|
||||
- CELERY_RESULT_BACKEND=redis://redis:6379/1
|
||||
- DATABASE_URL=postgresql://dociva:${POSTGRES_PASSWORD:-dociva_secret_password}@postgres:5432/dociva
|
||||
- DATABASE_URL=postgresql://dociva:${POSTGRES_PASSWORD:-6x3PjV4ghRTQuZ3Q}@postgres:5432/dociva
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- upload_data:/tmp/uploads
|
||||
@@ -106,7 +106,7 @@ services:
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
- CELERY_BROKER_URL=redis://redis:6379/0
|
||||
- CELERY_RESULT_BACKEND=redis://redis:6379/1
|
||||
- DATABASE_URL=postgresql://dociva:${POSTGRES_PASSWORD:-dociva_secret_password}@postgres:5432/dociva
|
||||
- DATABASE_URL=postgresql://dociva:${POSTGRES_PASSWORD:-6x3PjV4ghRTQuZ3Q}@postgres:5432/dociva
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user