chore: update CasaOS compose for external PostgreSQL and fixed port

This commit is contained in:
2026-03-31 10:14:44 -07:00
parent d970313165
commit 478d81e1b1
+11 -13
View File
@@ -7,34 +7,32 @@
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}
- BETTER_AUTH_URL=${BETTER_AUTH_URL:-http://localhost:3000} - BETTER_AUTH_URL=${BETTER_AUTH_URL:-http://localhost:3000}
# Application Configuration # Application Configuration
- NODE_ENV=production - NODE_ENV=production
# Trusted Origins for Better Auth # Trusted Origins for Better Auth
- TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000} - TRUSTED_ORIGINS=${TRUSTED_ORIGINS:-http://localhost:3000,http://127.0.0.1:3000}
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
networks: networks:
- euchre-network - euchre-network