self-hosted
self-hosted copied to clipboard
Change File upload size limit
this is less of an issue and more of a question that I can't find the answer to. My main reason for wanting to self-host revolt is to provide an experience similar to discord without an upload limit. I've successfully gotten it running locally but I cannot find where in the configuration files I can change the max upload size.
Upload limits are controlled via the Autumn.toml
file, https://github.com/revoltchat/autumn/blob/master/Autumn.toml
How would I be able to access that file if I have it installed w/ docker? I'm not well versed w/ docker at all
How would I be able to access that file if I have it installed w/ docker? I'm not well versed w/ docker at all
- Check docker containers with :
docker ps -a
- Identify ID of Autumn container
- "Login" to container with :
docker exec -u 0 -it <Container ID> /bin/bash
- Install vim or nano with :
apt install
- Modify and save
Autumn.toml
file
Closing as solved for now.
Though you should mount Autumn.toml
into the container instead.
Editing line 10 [max_size = 20000000] in Autumn.toml with nano or mounting into the container does not change the file upload limits.