Support >2 COMPOSE_FILEs
This commit is contained in:
parent
f8306b282d
commit
80f06ba0e1
4
abra
4
abra
@ -520,7 +520,7 @@ sub_app_deploy (){
|
||||
(
|
||||
cd "$APP_DIR" || error "\$APP_DIR '$APP_DIR' not found"
|
||||
# shellcheck disable=SC2086
|
||||
if docker stack deploy -c ${COMPOSE_FILE/:/ -c } "$STACK_NAME"; then
|
||||
if docker stack deploy -c ${COMPOSE_FILE//:/ -c } "$STACK_NAME"; then
|
||||
if [ -n "$DOMAIN" ]; then
|
||||
success "Yay! App should be available at https://${DOMAIN}"
|
||||
else
|
||||
@ -537,7 +537,7 @@ sub_app_undeploy (){
|
||||
load_instance
|
||||
load_instance_env
|
||||
|
||||
warning "Un-deploy $STACK_NAME from $SERVER?"
|
||||
warning "About to un-deploy $STACK_NAME from $SERVER"
|
||||
prompt_confirm
|
||||
|
||||
docker stack rm "$STACK_NAME"
|
||||
|
Reference in New Issue
Block a user