Update doc to transition away from old config handling

This commit is contained in:
gnuxie 2022-11-22 15:28:54 +00:00
parent dbe7af78ab
commit 56957c6012
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ In short, please make sure that the mjolnir configuration exists under `./config
Run the following command in your terminal, replace `./mjolnir` with the root directory of your config, if it is in another spot.
```bash
docker run --rm -it -v ./mjolnir:/data matrixdotorg/mjolnir:latest
docker run --rm -it -v ./mjolnir:/data matrixdotorg/mjolnir:latest bot --mjolnir-config /data/config/production.yaml
```
# Docker Compose

View File

@ -13,5 +13,5 @@ yarn build
cp config/default.yaml config/production.yaml
nano config/production.yaml
NODE_ENV=production node lib/index.js
node lib/index.js --mjolnir-config ./config/production.yaml
```