revoltchat / self-hosted

Deploy Revolt using Docker.
1k stars 131 forks source link

Change File upload size limit #53

Closed inputoutput1126 closed 1 year ago

inputoutput1126 commented 2 years ago

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.

Zomatree commented 2 years ago

Upload limits are controlled via the Autumn.toml file, https://github.com/revoltchat/autumn/blob/master/Autumn.toml

inputoutput1126 commented 2 years ago

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

demetera commented 2 years ago

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

1) Check docker containers with : docker ps -a 2) Identify ID of Autumn container 3) "Login" to container with : docker exec -u 0 -it <Container ID> /bin/bash 4) Install vim or nano with : apt install 5) Modify and save Autumn.toml file

insertish commented 1 year ago

Closing as solved for now. Though you should mount Autumn.toml into the container instead.

mlyasota commented 1 year ago

Editing line 10 [max_size = 20000000] in Autumn.toml with nano or mounting into the container does not change the file upload limits.