mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
Update doc to transition away from old config handling
This commit is contained in:
parent
dbe7af78ab
commit
56957c6012
@ -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
|
||||
|
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user