## dcape-app-railwayka-landing Makefile ## This file extends Makefile.app from dcape #: SHELL = /bin/bash CFG ?= .env CFG_BAK ?= $(CFG).bak #- Docker repo & image name without version IMAGE ?= nginx #- ver IMAGE_VER ?= 1.27-alpine # ------------------------------------------------------------------------------ # app custom config # Overwrite for setup APP_SITE ?= railwayka.ru #- domain (no www for this site) APP_ACME_DOMAIN ?= $(APP_SITE) PERSIST_FILES = # ------------------------------------------------------------------------------ # if exists - load old values -include $(CFG_BAK) export -include $(CFG) export # ------------------------------------------------------------------------------ # Find and include DCAPE_ROOT/Makefile DCAPE_COMPOSE ?= dcape-compose DCAPE_ROOT ?= $(shell docker inspect -f "{{.Config.Labels.dcape_root}}" $(DCAPE_COMPOSE)) ifeq ($(shell test -e $(DCAPE_ROOT)/Makefile.app && echo -n yes),yes) include $(DCAPE_ROOT)/Makefile.app else include /opt/dcape/Makefile.app endif .default-deploy: docker-build