You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that if I edited the name of "mongodb-replicaset" job in containerpilot.json5, the manage.py script would break because the job name is hard coded.
Therefore, I was thinking it would be good to extract that bit out into a global variable. In fact, we could simply use the REPLICASET variable, having it default to "mongodb-replicaset".
--replSet doesn't say anything about name restrictions, and the containerpilot job name is adequately restrictive, so would follow the containerpilot name rules.
The text was updated successfully, but these errors were encountered:
I noticed that if I edited the name of "mongodb-replicaset" job in
containerpilot.json5
, themanage.py
script would break because the job name is hard coded.Therefore, I was thinking it would be good to extract that bit out into a global variable. In fact, we could simply use the
REPLICASET
variable, having it default to "mongodb-replicaset".manage.py
mongodb/bin/manage.py
Lines 75 to 76 in 23f6c30
containerpilot.json5
mongodb/etc/containerpilot.json5
Line 30 in 23f6c30
mongodb/etc/containerpilot.json5
Line 32 in 23f6c30
mongodb/etc/containerpilot.json5
Line 44 in 23f6c30
mongodb/etc/containerpilot.json5
Line 47 in 23f6c30
mongodb/etc/containerpilot.json5
Lines 52 to 57 in 23f6c30
local-compose.yml
Naming conventions:
--replSet
doesn't say anything about name restrictions, and the containerpilot jobname
is adequately restrictive, so would follow the containerpilotname
rules.The text was updated successfully, but these errors were encountered: