version: "3.9" services: kong: image: kong/kong-gateway:3.7.1.2 pull_policy: always container_name: kong privileged: true user: root ports: - "8000:8000" - "8443:8443" - "8001:8001" - "8444:8444" - "8002:8002" - "8445:8445" - "8003:8003" - "8004:8004" environment: KONG_DATABASE: postgres KONG_PG_DATABASE: kong KONG_PG_HOST: "" KONG_PG_USER: "postgres" KONG_PG_PASSWORD: "" KONG_PROXY_ACCESS_LOG: /dev/stdout KONG_PROXY_ERROR_LOG: /dev/stderr KONG_ADMIN_ACCESS_LOG: /dev/stdout KONG_ADMIN_ERROR_LOG: /dev/stderr KONG_ADMIN_LISTEN: 0.0.0.0:8001