mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2024-10-03 04:23:13 +00:00
docker: configure the Shard startup command and redis options
use the environment variables to render the credentials.json more portable
This commit is contained in:
parent
9601f49f72
commit
a301572ae4
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./credentials.json:/app/credentials.json:ro
|
- ./credentials.json:/app/credentials.json:ro
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
|
environment:
|
||||||
|
NadekoBot_RedisOptions: redis,name=nadeko
|
||||||
|
NadekoBot_ShardRunCommand: dotnet
|
||||||
|
NadekoBot_ShardRunArguments: NadekoBot.dll {0} {1}
|
||||||
labels:
|
labels:
|
||||||
"com.centurylinklabs.watchtower.enable": "true"
|
"com.centurylinklabs.watchtower.enable": "true"
|
||||||
redis:
|
redis:
|
||||||
|
|
Loading…
Reference in a new issue