# Docker

{% hint style="danger" %}
This documentation site is deprecated. Please visit the README of <https://github.com/synzen/MonitoRSS> for hosting instructions.
{% endhint %}

## Running

### Image

Both the bot and web are started from the clone image (either in separate containers or combined in one):

`docker pull synzen/monitorss`

Note that all the required configurations still need to be set through [environment variables](https://docs.monitorss.xyz/configuration/environment-variables). To know which ones are required, see the [Bot Config](https://docs.monitorss.xyz/configuration/bot-configuration) or [Web Interface Config](https://docs.monitorss.xyz/configuration/web-interface) section.

### docker-compose

A Docker compose file is provided in the clone repository at <https://github.com/synzen/MonitoRSS-Clone>

`docker-compose up`

By default, the compose file will start containers for Redis, MongoDB, the bot and the web. The env variable `DRSS_START` dictates whether the bot or the web is started (`bot`, `web` or `bot-web` for both).&#x20;

{% hint style="info" %}
The web app must have access to the same database as the bot to access the same data. Be sure to use the same database URI for both the bot and the web application in their respective configs.
{% endhint %}

## Restart Policy Advisory

{% hint style="danger" %}
Be wary of doing infinite restarts. This may lead to you being blocked or banned by Discord.
{% endhint %}
