chore: update database username to euchre_camp and hostname to postgresql

This commit is contained in:
2026-03-31 04:05:14 -07:00
parent 5b19e44062
commit a1a380f410
4 changed files with 19 additions and 19 deletions
+6 -6
View File
@@ -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