Skip to content

Commit dc12c2c

Browse files
authored
Add self hosted log instructions
1 parent b8b204f commit dc12c2c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ You have two options for using this bot, hosting on Heroku or self hosting the b
4949

5050
## What is heroku?
5151

52-
Heroku is a container based cloud platform that offers free plans to host web applications. However, these apps have an ephemeral file system and thus cannot store any data on site. We have made Mod Mail to be accessible to anyone while still being feature rich, it's a community run project that lets anyone get it up and running 24/7 for free. So how does our bot store data? Config and logs are stored in a [centralised web service](https://modmail.tk) hosted by us. This enables you to get started fast without having to worry about [anything](https://github.com/kyb3r/modmail/wiki/Installation#transparency).
52+
Heroku is a container based cloud platform that offers free plans to host web applications. However, these apps have an ephemeral file system and thus cannot store any data on site. We have made Mod Mail to be accessible to anyone while still being feature rich, it's a community run project that lets anyone get it up and running 24/7 for free. So how does our bot store data? Config and logs are stored in a [centralised web service](https://modmail.tk) hosted by us. This enables you to get started easily and fast.
53+
54+
## Self hosted logs
55+
56+
If you want complete control over your data and do not want to use the centralised API service, you can self host your logs. You can do this by adding two config variables:
57+
58+
* `MONGO_URI` - Mongodb connection URI, you can get a free 500mb cluster from [mongodb atlas](https://www.mongodb.com/cloud/atlas).
59+
* `LOG_URL` - The url of your heroku app (`https://yourappname.herokuapp.com`)
5360

5461
## Features and Commands
5562
The bot comes with a plethora of useful functionality. Take a look at the [list of commands](https://github.com/kyb3r/modmail/wiki/Features-and-commands).

0 commit comments

Comments
 (0)