File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ DCAPE_COMPOSE ?= $(DCAPE_TAG)-compose
2525DCAPE_DC_YML ?= /opt/dcape-app/docker-compose.yml
2626DCAPE_DC_USED ?= true
2727PERSIST_FILES ?=
28+ # Empty or 'keep'
29+ SETUP_ROOT_OPTS ?=
2830
2931# ------------------------------------------------------------------------------
3032# .env template
@@ -225,7 +227,7 @@ $(CFGSAMPLE):
225227.drone-default :
226228 @echo " *** $@ ***" ; \
227229 [ $$ USE_DB != yes ] || $(MAKE ) -s db-create ; \
228- [ -z " $$ PERSIST_FILES" ] || . setup root ; cp -r $$ PERSIST_FILES $$ APP_ROOT ; \
230+ [ -z " $$ PERSIST_FILES" ] || . setup root $( SETUP_ROOT_OPTS ) ; cp -r $$ PERSIST_FILES $$ APP_ROOT ; \
229231 [ " $( DCAPE_DC_USED) " != true ] || args=" -f $( DCAPE_DC_YML) -f docker-compose.yml" ; \
230232 docker-compose -p $(APP_TAG ) --env-file $(CFG ) $$ args up -d --force-recreate
231233
You can’t perform that action at this time.
0 commit comments