I find it devastating that I could not use mongodb:27017
as the origin of a host. For example,
ingress:
- hostname: mongodb.test.domain
service: http://mongodb:27017/
- service: http_status:404
services:
cloudflare-tunnel:
image: cloudflare/cloudflared:latest
command: tunnel --config /etc/tunnel/config.yaml run
volumes:
- ./mongo/cloudflare:/etc/tunnel
networks:
- network_cloudflared
- network_mongo
depends_on:
- mongodb
Cloudflared errors:
http://mongodb:27017/ is an invalid address, ingress rules don't support proxying to a different path on the origin service. The path will be the same as the eyeball request's path
I use Docker compose for my projects. Without this feature, it feels almost impossible to integrate other docker services to Cloudflared unless localhost
is specified.