Spaces:
Runtime error
Runtime error
File size: 675 Bytes
35a4fc3 54ca43e 517bf55 54ca43e eca84a0 9e49dd6 35a4fc3 54ca43e 35a4fc3 9e49dd6 35a4fc3 9e49dd6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
FROM kong/kong-gateway:3.13.0.0
USER root
# ---------- Kong DB (Render PostgreSQL) ----------
ENV KONG_DATABASE=postgres \
KONG_PG_HOST=dpg-d55brtumcj7s73f95bgg-a.singapore-postgres.render.com \
KONG_PG_PORT=5432 \
KONG_PG_DATABASE=radison \
KONG_PG_USER=hiren \
KONG_PG_PASSWORD=${KONG_PG_PASSWORD} \
KONG_PG_SSL=on \
KONG_PG_SSL_VERIFY=off
# ---------- VERY IMPORTANT FOR HUGGING FACE ----------
ENV PORT=7860 \
KONG_PROXY_LISTEN=0.0.0.0:7860 \
KONG_ADMIN_LISTEN=0.0.0.0:8001 \
KONG_ADMIN_GUI_LISTEN=0.0.0.0:8002 \
KONG_ADMIN_GUI_URL=http://localhost:8002 \
KONG_LOG_LEVEL=info
EXPOSE 7860 8001 8002
CMD kong start --vv
|