Open DaiYuanchuan opened 1 year ago
+1
guess you are missing the gateway service:
Tabby Web serves the Tabby Terminal as a web application while managing multiple config files, authentication, and providing TCP connections via a separate gateway service.
https://github.com/Eugeny/tabby-web/blob/master/docker-compose.yml
None of the examples you gave mentioned this.
+1
I don't know why, is there any configuration I missed? I built through docker, this is build statement
docker build --force-rm -t tabby-web:20230228204228 -f /usr/local/tabby/tabby-web/Dockerfile .
this is my docker run
docker run -d -m 2048M --memory-swap 4096M --log-opt max-size=500M --log-opt max-file=1 \ --name tabby-web \ -e 'DATABASE_URL=mysql://tabby:tabby@10.21.19.72:10025/tabby-web' \ -e 'PORT=80' \ -e 'DEBUG=false' \ -e 'ENABLE_HOMEPAGE=true' \ -e 'APP_DIST_STORAGE=file:///app-dist' \ -e 'DOCKERIZE_ARGS="-wait tcp://10.21.19.72:10025 -timeout 60s"' \ -v /usr/local/tabby/app:/app \ -v /usr/local/tabby/app-dist:/app-dist \ -p 9090:80 \ --network tabby --ip 172.32.0.2 \ --restart always tabby-web:20230228204228
when I make an ssh connection![image](https://user-images.githubusercontent.com/38415417/221903312-730f67fe-7102-47e2-ac90-7c774bdcaa5d.png)
request : /api/1/gateways/choose (503 Service Unavailable)
I don't know what I did wrong. I'd like to get a hint. thanks.