ใช้ URL `host.containers.internal` ใน podman (host.docker.internal ใน docker)

เพื่อเรียกใช้ API จาก host เช่น curl http://host.containers.internal:8080/api/get_info

#siamstr

Reply to this note

Please Login to reply.

Discussion

ตัวอย่างใช้ cloudflare tunnel ใน podman เชื่อมไปหา Nostr Relay Tray ในเครื่อง Host

#siamdev

The latest version has integrated a reverse proxy service.

what is the technology that you use for this proxy?

I’m running a simple reverse proxy service https://github.com/CodyTseng/pigeon

Yeah I've already tried that, just wanted to try our new Domain name 🙏🍻

🫡

ใช้กับ docker ได้ไหมนะ

Docker ใช้ host.docker.internal ครับ

ถ้าใช้กับ Tunnel ใส่แทน IP สบายๆ ไม่ต้องกังวนเลยอ่ะดิ

ใช้อยู่เนี่ยย wss://local.siamdev.cc/

แจ่มเลย ไม่ต้องหา Server มาทำ wireguard 😂

จริงไม่ต้องกังวล IP เปลี่ยน