lichocker icon indicating copy to clipboard operation
lichocker copied to clipboard

Explore a separate image for lila-ws and using docker compose

Open greg-finley opened this issue 6 years ago • 5 comments

Right now lila-ws is fired off as a background process. It could instead be run by a separate Docker image and orchestrated together with lila via docker compose.

greg-finley avatar Jan 04 '20 06:01 greg-finley

I thought more about the potential benefit of doing this, and I landed on "you could see the logs of lila-ws". However, the current implementation writes out the logs to nohup.out in lila-ws directory, so they are already there if you need them. I don't think we need to do anything.

greg-finley avatar Jan 04 '20 17:01 greg-finley

Even though I probably won't do this, it's probably better to do it this way and thus we should leave this open in case someone is interested.

greg-finley avatar Jan 17 '20 06:01 greg-finley

I'm trying to run lichess in a docker container, but it appears that lila-ws doesn't work. In my configuration docker is installed on remote linux server. I've changed config (base.conf) and set domain and socket.domains to the name of my linux server, however web sockets seems still not working, I'm consistenly getting "Reconnecting ..." messages in the web UI. Any ideas?

serbathome avatar Mar 22 '20 16:03 serbathome

I'm trying to run lichess in a docker container, but it appears that lila-ws doesn't work. In my configuration docker is installed on remote linux server. I've changed config (base.conf) and set domain and socket.domains to the name of my linux server, however web sockets seems still not working, I'm consistenly getting "Reconnecting ..." messages in the web UI. Any ideas?

You should create another issue with the outputs from your browser.

gmolaire avatar Jul 20 '20 19:07 gmolaire

I am interested in this issue and created 2 related issues in lila and lila-ws to have their separate image. When accepted and available, we could easily put this docker-compose in place

gmolaire avatar Jul 20 '20 19:07 gmolaire