Hey! I’ll like to get some help about how to set up the kong manager OSS with cloudflare tunnels, I have tested the proyect locally and it works fine
But here in the deployed way is not loading anything.
I’m using this exact docker compose for both:
version: '3'
services:
kong-database:
image: postgres:13
networks:
- kong-net
environment:
POSTGRES_DB: kong
POSTGRES_USER:
POSTGRES_PASSWORD:
ports:
- 5432:5432
kong-gateway:
image: kong:3.6.1
networks:
- kong-net
depends_on:
- kong-database
environment:
KONG_DATABASE: postgres
KONG_PG_HOST: kong-database
KONG_PG_USER:
KONG_PG_PASSWORD:
KONG_PROXY_ACCESS_LOG: /dev/stdout
KONG_ADMIN_ACCESS_LOG: /dev/stdout
KONG_PROXY_ERROR_LOG: /dev/stderr
KONG_ADMIN_ERROR_LOG: /dev/stderr
KONG_ADMIN_LISTEN: "0.0.0.0:8001, 0.0.0.0:8444 ssl"
KONG_ADMIN_GUI_URL: http://localhost:8002
ports:
- "8000:8000"
- "8443:8443"
- "127.0.0.1:8001:8001"
- "127.0.0.1:8002:8002"
- "127.0.0.1:8444:8444"
kong-migrations:
image: kong:3.6.1
networks:
- kong-net
environment:
- KONG_DATABASE=postgres
- KONG_PG_HOST=kong-database
- KONG_PG_PASSWORD=
- KONG_CASSANDRA_CONTACT_POINTS=kong-database
command: kong migrations bootstrap && kong migrations up
restart: on-failure
depends_on:
- kong-database
networks:
kong-net:
name: kong-net
external: true
Then with the tunnel I expose it like this
I have multiple services being exposed with the cloudflare tunnel which they work fine, even kong + konga but I wanted to give it a try to the kong manager oss but no use.
I’ve seen some things like that is trying to access port 8444 doing a request in kong.jonathan.com.ar:8444 which I have blocked a few times with the waf, I removed that port from the rules, open port 8443 and 8444 in the oracle machine, but still it won’t show anything.