diff --git a/docker-compose.casaos.yml b/docker-compose.casaos.yml index 6788517..845cad9 100644 --- a/docker-compose.casaos.yml +++ b/docker-compose.casaos.yml @@ -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