Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -6
Dockerfile
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
# Evolution-API v2 WITH Supabase PostgreSQL - Transaction Pooler Port 6543
|
| 2 |
-
FROM atendai/evolution-api:
|
| 3 |
-
|
| 4 |
# Install bash if needed
|
| 5 |
RUN apk add --no-cache bash
|
| 6 |
|
|
@@ -14,11 +13,8 @@ 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 |
|
| 23 |
# Temporary storage in memory
|
| 24 |
ENV STORE_MESSAGES=true
|
|
|
|
| 1 |
# Evolution-API v2 WITH Supabase PostgreSQL - Transaction Pooler Port 6543
|
| 2 |
+
FROM atendai/evolution-api:v1.7.4
|
|
|
|
| 3 |
# Install bash if needed
|
| 4 |
RUN apk add --no-cache bash
|
| 5 |
|
|
|
|
| 13 |
|
| 14 |
# Disable Database
|
| 15 |
# Enable Database with Supabase
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
ENV CACHE_REDIS_ENABLED=false
|
| 17 |
+
ENV DATABASE_ENABLED=false
|
| 18 |
|
| 19 |
# Temporary storage in memory
|
| 20 |
ENV STORE_MESSAGES=true
|