fix: update PostgreSQL password and database URL in docker-compose.yml
This commit is contained in:
19
compose.yml
19
compose.yml
@@ -1,19 +0,0 @@
|
|||||||
services:
|
|
||||||
postgres:
|
|
||||||
image: postgres
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: postgres
|
|
||||||
POSTGRES_PASSWORD: password
|
|
||||||
POSTGRES_DB: vash_esports
|
|
||||||
ports:
|
|
||||||
- "5432:5432"
|
|
||||||
volumes:
|
|
||||||
- postgres_data:/var/lib/postgresql/data
|
|
||||||
|
|
||||||
redis:
|
|
||||||
image: redis
|
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
postgres_data:
|
|
||||||
@@ -9,7 +9,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: vash
|
POSTGRES_DB: vash
|
||||||
POSTGRES_USER: vash
|
POSTGRES_USER: vash
|
||||||
POSTGRES_PASSWORD: ${DB_PASSWORD:-changeme_in_production}
|
POSTGRES_PASSWORD: ***REMOVED***
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql/data
|
- pgdata:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
@@ -29,8 +29,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3000:3000" # Only accessible from host (nginx proxies)
|
- "127.0.0.1:3000:3000" # Only accessible from host (nginx proxies)
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgresql://vash:${DB_PASSWORD:-changeme_in_production}@db:5432/vash
|
DATABASE_URL: postgresql://vash:***REMOVED***@db:5432/vash
|
||||||
ORIGIN: ${ORIGIN:-https://vash.yourdomain.com}
|
ORIGIN: ${ORIGIN:-https://esports.vash.software}
|
||||||
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
|
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
|
||||||
OSU_CLIENT_ID: ${OSU_CLIENT_ID}
|
OSU_CLIENT_ID: ${OSU_CLIENT_ID}
|
||||||
OSU_CLIENT_SECRET: ${OSU_CLIENT_SECRET}
|
OSU_CLIENT_SECRET: ${OSU_CLIENT_SECRET}
|
||||||
|
|||||||
Reference in New Issue
Block a user