Ok, I think I got the router working, although I had to do it from the ZAC. The cli commands didn't work for me locally nor in my controller vm on AWS, which might suggest another configuration problem...
I see in my ziti-host tunneler logs in docker desktop that the edge router is connected now and I configured it loosely like you suggested, giving #all
/#public
access, etc.
However, I still can't curl the service or navigate to it from my browser, so I am not sure what I did wrong.
This is my docker compose file:
services:
ziti-host:
image: openziti/ziti-host:latest
volumes:
- ziti-host:/ziti-edge-tunnel
environment:
- ZITI_ENROLL_TOKEN
networks:
- ziti-network
open-webui-ziti:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui-ziti
volumes:
- open-webui-ziti:/app/backend/data
restart: always
extra_hosts:
- 'host.docker.internal:host-gateway'
depends_on:
- ziti-host
networks:
- ziti-network
volumes:
ziti-host:
open-webui-ziti:
networks:
ziti-network:
driver: bridge
and this is the configuration I have on my host.v1
{
"_links": {
"self": {
"href": "./configs/6KxaZLySLBZKB4x5iSbIRt"
}
},
"createdAt": "2024-11-26T23:10:05.214Z",
"id": "6KxaZLySLBZKB4x5iSbIRt",
"tags": {},
"updatedAt": "2024-11-27T16:00:56.035Z",
"configType": {
"_links": {
"self": {
"href": "./config-types/NH5p4FpGR"
}
},
"entity": "config-types",
"id": "NH5p4FpGR",
"name": "host.v1"
},
"configTypeId": "NH5p4FpGR",
"data": {
"protocol": "tcp",
"address": "open-webui-ziti",
"port": 8080,
"httpChecks": [],
"portChecks": []
},
"name": "ollama.host.v1"
}
I have noticed that when I set the address in the host.v1 config in the ZAC, if I leave and then re-enter the config entry, the address is not persisted... So something seems off there too.