BrandonE / lichocker

lichess.org run in a Docker container
57 stars 25 forks source link

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

Open greg-finley opened 4 years ago

greg-finley commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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.

serbathome commented 4 years ago

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?

gmolaire commented 4 years ago

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 commented 4 years ago

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