fix: remove hardcoded passwords from docker-compose generation
This commit is contained in:
@@ -64,8 +64,8 @@ services:
|
||||
environment:
|
||||
# Database Configuration (REQUIRED: Set via CasaOS environment variables)
|
||||
- DATABASE_PROVIDER=postgresql
|
||||
- DATABASE_URL="postgresql://euchre_camp:LINGO5row_hiding@dhg.lol:5432/euchre_camp"
|
||||
- DATABASE_SHADOW_URL="postgresql://euchre_camp:LINGO5row_hiding@dhg.lol:5432/euchre_camp_shadow"
|
||||
- DATABASE_URL=\${DATABASE_URL:-postgresql://euchre_camp:password@db:5432/euchre_camp}
|
||||
- DATABASE_SHADOW_URL=\${DATABASE_SHADOW_URL:-postgresql://euchre_camp:password@db:5432/euchre_camp_shadow}
|
||||
|
||||
# Better Auth Configuration
|
||||
- BETTER_AUTH_SECRET=\${BETTER_AUTH_SECRET:-change-this-secret-in-production}
|
||||
@@ -113,8 +113,8 @@ services:
|
||||
environment:
|
||||
# Database Configuration
|
||||
- DATABASE_PROVIDER=postgresql
|
||||
- DATABASE_URL=postgresql://euchre_camp:password@db:5432/euchre_camp
|
||||
- DATABASE_SHADOW_URL=postgresql://euchre_camp:password@db:5432/euchre_camp_shadow
|
||||
- DATABASE_URL=\${DATABASE_URL:-postgresql://euchre_camp:password@db:5432/euchre_camp}
|
||||
- DATABASE_SHADOW_URL=\${DATABASE_SHADOW_URL:-postgresql://euchre_camp:password@db:5432/euchre_camp_shadow}
|
||||
|
||||
# Better Auth Configuration
|
||||
- BETTER_AUTH_SECRET=\${BETTER_AUTH_SECRET:-change-this-secret-in-production}
|
||||
@@ -181,8 +181,8 @@ services:
|
||||
environment:
|
||||
# Database Configuration
|
||||
- DATABASE_PROVIDER=postgresql
|
||||
- DATABASE_URL=postgresql://euchre_camp:password@db:5432/euchre_camp
|
||||
- DATABASE_SHADOW_URL=postgresql://euchre_camp:password@db:5432/euchre_camp_shadow
|
||||
- DATABASE_URL=\${DATABASE_URL:-postgresql://euchre_camp:password@db:5432/euchre_camp}
|
||||
- DATABASE_SHADOW_URL=\${DATABASE_SHADOW_URL:-postgresql://euchre_camp:password@db:5432/euchre_camp_shadow}
|
||||
|
||||
# Better Auth Configuration
|
||||
- BETTER_AUTH_SECRET=\${BETTER_AUTH_SECRET:-dev-secret-change-in-production}
|
||||
|
||||
Reference in New Issue
Block a user