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