Add default value to skynet replicaset

This commit is contained in:
Filip Rysavy 2021-10-18 12:12:58 +02:00
parent f04a2d89d1
commit ece38315ad
No known key found for this signature in database
GPG Key ID: EA1F430401C92D99
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ x-logging: &default-logging
services: services:
mongo: mongo:
image: mongo:4.4.1 image: mongo:4.4.1
command: --keyFile=/data/mgkey --replSet=${SKYNET_DB_REPLICASET} command: --keyFile=/data/mgkey --replSet=${SKYNET_DB_REPLICASET:-skynet}
container_name: mongo container_name: mongo
restart: unless-stopped restart: unless-stopped
logging: *default-logging logging: *default-logging