1
Fork 0
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:
Veovis 2018-10-06 11:56:20 +02:00
parent 9601f49f72
commit a301572ae4

View file

@ -9,6 +9,10 @@ services:
volumes:
- ./credentials.json:/app/credentials.json:ro
- ./data:/app/data
environment:
NadekoBot_RedisOptions: redis,name=nadeko
NadekoBot_ShardRunCommand: dotnet
NadekoBot_ShardRunArguments: NadekoBot.dll {0} {1}
labels:
"com.centurylinklabs.watchtower.enable": "true"
redis: