chore: update database username to euchre_camp and hostname to postgresql
This commit is contained in:
+6
-6
@@ -9,8 +9,8 @@ services:
|
||||
environment:
|
||||
# Database Configuration
|
||||
- DATABASE_PROVIDER=postgresql
|
||||
- DATABASE_URL=postgresql://euchre:euchrepassword@postgres:5432/euchre_camp
|
||||
- DATABASE_SHADOW_URL=postgresql://euchre:euchrepassword@postgres:5432/euchre_camp_shadow
|
||||
- DATABASE_URL=postgresql://euchre_camp:euchrepassword@postgresql:5432/euchre_camp
|
||||
- DATABASE_SHADOW_URL=postgresql://euchre_camp:euchrepassword@postgresql:5432/euchre_camp_shadow
|
||||
|
||||
# Better Auth Configuration
|
||||
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET:-your-secret-key-change-in-production}
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
- TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000}
|
||||
|
||||
depends_on:
|
||||
postgres:
|
||||
postgresql:
|
||||
condition: service_healthy
|
||||
|
||||
volumes:
|
||||
@@ -35,12 +35,12 @@ services:
|
||||
networks:
|
||||
- euchre-network
|
||||
|
||||
postgres:
|
||||
postgresql:
|
||||
image: postgres:15-alpine
|
||||
container_name: euchre-camp-postgres
|
||||
environment:
|
||||
- POSTGRES_DB=euchre_camp
|
||||
- POSTGRES_USER=euchre
|
||||
- POSTGRES_USER=euchre_camp
|
||||
- POSTGRES_PASSWORD=euchrepassword
|
||||
ports:
|
||||
- "5432:5432"
|
||||
@@ -48,7 +48,7 @@ services:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./scripts/init-postgres.sh:/docker-entrypoint-initdb.d/init-postgres.sh
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U euchre -d euchre_camp"]
|
||||
test: ["CMD-SHELL", "pg_isready -U euchre_camp -d euchre_camp"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user