Adding permanent storage for the DB while using docker
This commit is contained in:
parent
cf25c9c442
commit
3b46ce613a
2 changed files with 7 additions and 3 deletions
|
@ -39,7 +39,9 @@ docker run -d \
|
|||
--ACCESS_TOKEN="yourAccessToken" \
|
||||
--PREFIX="yourPrefix" \
|
||||
--CHANNEL="yourChannel(s)" \
|
||||
--DISCORD="yourDiscordLink"
|
||||
--DISCORD="yourDiscordLink" \
|
||||
-v /here/your/path/:/db
|
||||
|
||||
```
|
||||
|
||||
## Features
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
version: "2.1"
|
||||
services:
|
||||
twitchbot:
|
||||
bot-tom:
|
||||
image: registry.gitlab.com/confreriedukassoulait/bot-tom:latest
|
||||
container_name: TwitchBot
|
||||
container_name: Bot-Tom
|
||||
environment:
|
||||
- ACCESS_TOKEN=yourAccessToken
|
||||
- PREFIX=yourPrefix
|
||||
- CHANNEL=yourChannel(s)
|
||||
- DISCORD=yourDiscordLink
|
||||
volumes:
|
||||
- /here/your/path/:/db
|
||||
restart: unless-stopped
|
||||
|
|
Loading…
Reference in a new issue