chore: update CasaOS compose for external PostgreSQL and fixed port
This commit is contained in:
@@ -7,17 +7,15 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build:
|
image: euchre-camp/euchre-camp:latest
|
||||||
context: .
|
|
||||||
target: runner
|
|
||||||
container_name: euchre-camp
|
container_name: euchre-camp
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "51193:3000"
|
||||||
environment:
|
environment:
|
||||||
# Database Configuration (REQUIRED: Set via CasaOS environment variables)
|
# Database Configuration (REQUIRED: Set via CasaOS environment variables)
|
||||||
- DATABASE_PROVIDER=postgresql
|
- DATABASE_PROVIDER=postgresql
|
||||||
- DATABASE_URL=${DATABASE_URL:-postgresql://euchre_camp:password@your-postgres-host:5432/euchre_camp}
|
- DATABASE_URL="postgresql://euchre_camp:LINGO5row_hiding@dhg.lol:5432/euchre_camp"
|
||||||
- DATABASE_SHADOW_URL=${DATABASE_SHADOW_URL:-postgresql://euchre_camp:password@your-postgres-host:5432/euchre_camp_shadow}
|
- DATABASE_SHADOW_URL="postgresql://euchre_camp:LINGO5row_hiding@dhg.lol:5432/euchre_camp_shadow"
|
||||||
|
|
||||||
# Better Auth Configuration
|
# Better Auth Configuration
|
||||||
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET:-change-this-secret-in-production}
|
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET:-change-this-secret-in-production}
|
||||||
@@ -31,7 +29,7 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# Persist uploaded files and static content
|
# Persist uploaded files and static content
|
||||||
- euchre_camp_app_data:/app/public/uploads
|
- /DATA/AppData/euchre-camp/config:/app/public/uploads
|
||||||
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user