Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -6,6 +6,9 @@ ENV PORT=7860
|
|
| 6 |
ENV SERVER_PORT=7860
|
| 7 |
EXPOSE 7860
|
| 8 |
|
|
|
|
|
|
|
|
|
|
| 9 |
# 2. Security Configuration
|
| 10 |
# This is the "Token" you will use in n8n (Header: apikey)
|
| 11 |
ENV AUTH_MODE=apikey
|
|
@@ -23,4 +26,5 @@ ENV DATABASE_CONNECTION_URI=postgresql://postgres:[PASSWORD]@[HOST]:5432/postgre
|
|
| 23 |
|
| 24 |
# 5. Optimization for HF Free Tier
|
| 25 |
ENV CACHE_LOCAL_ENABLED=true
|
|
|
|
| 26 |
ENV DELAY_MESSAGES=true
|
|
|
|
| 6 |
ENV SERVER_PORT=7860
|
| 7 |
EXPOSE 7860
|
| 8 |
|
| 9 |
+
# Ensure the app binds to all interfaces, not just localhost
|
| 10 |
+
ENV SERVER_HOST=0.0.0.0
|
| 11 |
+
|
| 12 |
# 2. Security Configuration
|
| 13 |
# This is the "Token" you will use in n8n (Header: apikey)
|
| 14 |
ENV AUTH_MODE=apikey
|
|
|
|
| 26 |
|
| 27 |
# 5. Optimization for HF Free Tier
|
| 28 |
ENV CACHE_LOCAL_ENABLED=true
|
| 29 |
+
ENV CACHE_REDIS_ENABLED=false
|
| 30 |
ENV DELAY_MESSAGES=true
|