This commit is contained in:
Халимов Рустам
2026-03-10 23:25:42 +03:00
parent 540ded7009
commit 1bb28c1ff7
2 changed files with 80 additions and 2 deletions

View File

@@ -19,10 +19,10 @@ services:
container_name: vortex-server
restart: always
environment:
DATABASE_URL: postgresql://${POSTGRES_USER:-vortex}:${POSTGRES_PASSWORD:-vortex_pass}@db:5432/${POSTGRES_DB:-vortex_db}
DATABASE_URL: ${DATABASE_URL:-postgresql://${POSTGRES_USER:-vortex}:${POSTGRES_PASSWORD:-vortex_pass}@db:5432/${POSTGRES_DB:-vortex_db}}
PORT: 3001
JWT_SECRET: ${JWT_SECRET:-your-secure-random-secret-key-here}
CORS_ORIGINS: http://localhost,http://localhost:80,http://localhost:5173
CORS_ORIGINS: ${CORS_ORIGINS:-http://localhost,http://localhost:80,http://localhost:5173}
ENCRYPTION_KEY: ${ENCRYPTION_KEY:-0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef}
depends_on:
- db