Add default value to skynet replicaset
This commit is contained in:
parent
f04a2d89d1
commit
ece38315ad
|
@ -9,7 +9,7 @@ x-logging: &default-logging
|
|||
services:
|
||||
mongo:
|
||||
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
|
||||
restart: unless-stopped
|
||||
logging: *default-logging
|
||||
|
|
Reference in New Issue