From cecbbaff49d03f29e6cd852a65dd47e0860b8d00 Mon Sep 17 00:00:00 2001 From: Andreas Larsen Date: Sat, 18 May 2019 15:14:43 +0200 Subject: [PATCH] Updated README.md with docker info --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9901834..c3e35a4 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,23 @@ Rollux is a simple dice rolling bot for discord } ``` 3. Install node.js and npm, then run the following command: `npm install` -4. Run it with `node bot.js` \ No newline at end of file +4. Run it with `node bot.js` + +# Running with docker + +1. Build docker image + +2. Mount `/data` directory in container with your auth.json file + + +## Example docker-compose file: + +``` +version: '2' + +services: + rollux: + image: 'rollux' + volumes: + - ./data:/data +```