chore: update CasaOS compose for external PostgreSQL and fixed port
This commit is contained in:
+11
-13
@@ -7,34 +7,32 @@
|
||||
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
target: runner
|
||||
image: euchre-camp/euchre-camp:latest
|
||||
container_name: euchre-camp
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "51193:3000"
|
||||
environment:
|
||||
# Database Configuration (REQUIRED: Set via CasaOS environment variables)
|
||||
- DATABASE_PROVIDER=postgresql
|
||||
- DATABASE_URL=${DATABASE_URL:-postgresql://euchre_camp:password@your-postgres-host:5432/euchre_camp}
|
||||
- DATABASE_SHADOW_URL=${DATABASE_SHADOW_URL:-postgresql://euchre_camp:password@your-postgres-host:5432/euchre_camp_shadow}
|
||||
|
||||
- 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"
|
||||
|
||||
# Better Auth Configuration
|
||||
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET:-change-this-secret-in-production}
|
||||
- BETTER_AUTH_URL=${BETTER_AUTH_URL:-http://localhost:3000}
|
||||
|
||||
|
||||
# Application Configuration
|
||||
- NODE_ENV=production
|
||||
|
||||
|
||||
# Trusted Origins for Better Auth
|
||||
- TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000}
|
||||
|
||||
|
||||
volumes:
|
||||
# Persist uploaded files and static content
|
||||
- euchre_camp_app_data:/app/public/uploads
|
||||
|
||||
- /DATA/AppData/euchre-camp/config:/app/public/uploads
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
networks:
|
||||
- euchre-network
|
||||
|
||||
|
||||
Reference in New Issue
Block a user