FYI, I've started to use ${VARIABLE:?Variable not found} when there is no obvious default so that the deploy crash if the variable is not set:
See docker reference on variable substitution for more info.
Maybe that would make sense to change the ${VARIABLE} or ${VARIABLE:-} by ${VARIABLE:?} for a more solid deploy process?
FYI, I've started to use
${VARIABLE:?Variable not found}
when there is no obvious default so that the deploy crash if the variable is not set: See docker reference on variable substitution for more info. Maybe that would make sense to change the${VARIABLE}
or${VARIABLE:-}
by${VARIABLE:?}
for a more solid deploy process?Originally posted by @dmrty in https://github.com/tiangolo/dockerswarm.rocks/issues/12#issuecomment-491737577