mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-07-21 12:35:23 -04:00
How to edit Revolt.toml on Docker? #58
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fvlasie on GitHub (Jun 25, 2024).
I can't find the Revolt.toml file in any of the docker containers. Does anyone know how to edit Revolt.toml on a docker deployment? Thank you!
Originally posted by @fvlasie in https://github.com/revoltchat/self-hosted/issues/82#issuecomment-2188215277
@fvlasie commented on GitHub (Jun 25, 2024):
I am trying to solve the problem of url: "ws://local.revolt.chat/ws"
showing in console.
@liqingyou commented on GitHub (Jun 27, 2024):
same
@jquiaios commented on GitHub (Jun 30, 2024):
I had the same problem and here is how I could make it work.
You need to download the file Revolt.toml and put it at the same level as the
docker-compose.ymlfile.If you host revolt on an external server, you need to modify your Revolt.toml file to adapt all your URLs.
After that, you modify the
docker-compose,ymlfile to add this Revolt.toml file as a volume for both containersapiandevents, something like this:Then you
docker compose up -dto restart those two containers, and you should be good.@fvlasie commented on GitHub (Jul 5, 2024):
Thank you very much for your help. I tried what you recommended but I just get a blank page when accessing the server URL through the browser.
@fvlasie commented on GitHub (Jul 6, 2024):
Sorry, I was being dumb! I did not set the custom domain in .env. It is all working now!
Thanks @jquiaios You are a wonderful person! :)