sakib87654 commited on
Commit
0d507f2
·
verified ·
1 Parent(s): e10059b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
- # Evolution-API v1 without database - Fixed version
2
- FROM atendai/evolution-api:v1.7.4
3
 
4
  # Install bash if needed
5
  RUN apk add --no-cache bash
@@ -13,8 +13,10 @@ ENV CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI
13
  ENV CONFIG_SESSION_PHONE_NAME=Chrome
14
 
15
  # Disable Database
16
- ENV DATABASE_ENABLED=false
17
-
 
 
18
  # Disable Redis (optional storage)
19
  ENV CACHE_REDIS_ENABLED=false
20
 
 
1
+ # Evolution-API v2 WITH Supabase PostgreSQL - Transaction Pooler Port 6543
2
+ FROM atendai/evolution-api:v2.1.1
3
 
4
  # Install bash if needed
5
  RUN apk add --no-cache bash
 
13
  ENV CONFIG_SESSION_PHONE_NAME=Chrome
14
 
15
  # Disable Database
16
+ # Enable Database with Supabase
17
+ ENV DATABASE_ENABLED=true
18
+ ENV DATABASE_PROVIDER=postgresql
19
+ ENV DATABASE_CONNECTION_URI=postgresql://postgres.gttztpfnnpzhdynosfdx:LS1PosUrpCO3A5rz@aws-1-ap-southeast-1.pooler.supabase.com:6543/postgres?pgbouncer=true
20
  # Disable Redis (optional storage)
21
  ENV CACHE_REDIS_ENABLED=false
22