# 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](/configuration/environment-variables.md). To know which ones are required, see the [Bot Config](/configuration/bot-configuration.md) or [Web Interface Config](/configuration/web-interface.md) 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.monitorss.xyz/setting-up/docker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
