getzero11 commited on
Commit
56790c3
·
verified ·
1 Parent(s): fd0be39

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -23,11 +23,11 @@ ENV DATABASE_ENABLED=true
23
  ENV DATABASE_PROVIDER=postgresql
24
  # Use the URI you copied from Supabase here:
25
  # The main connection string (with port 6543 and pgbouncer=true)
26
- ENV DATABASE_CONNECTION_URI="postgresql://postgres:[PASSWORD]@aws-1-ap-northeast-1.pooler.supabase.com:6543/postgres?pgbouncer=true"
27
 
28
  # Add the DIRECT URL (using port 5432)
29
  # This is used ONLY for the 'db:deploy' step that is currently sticking
30
- ENV DIRECT_URL="postgresql://postgres:[PASSWORD]@aws-1-ap-northeast-1.pooler.supabase.com:5432/postgres"
31
 
32
  # 5. Optimization for HF Free Tier
33
  ENV CACHE_LOCAL_ENABLED=true
 
23
  ENV DATABASE_PROVIDER=postgresql
24
  # Use the URI you copied from Supabase here:
25
  # The main connection string (with port 6543 and pgbouncer=true)
26
+ ENV DATABASE_CONNECTION_URI="postgresql://postgres:[PASSWORD]@aws-1-ap-northeast-1.pooler.supabase.com:6543/postgres?pgbouncer=true&connection_limit=1"
27
 
28
  # Add the DIRECT URL (using port 5432)
29
  # This is used ONLY for the 'db:deploy' step that is currently sticking
30
+ ENV DIRECT_URL="postgresql://postgres:[PASSWORD]@aws-1-ap-northeast-1.pooler.supabase.com:5432/postgres?connection_limit=1"
31
 
32
  # 5. Optimization for HF Free Tier
33
  ENV CACHE_LOCAL_ENABLED=true