CLOUDRON_APP ?= powerdns CLOUDRON_ID := $(shell jq -r .id CloudronManifest.json) CLOUDRON_SERVER ?= my.kiers.eu #CLOUDRON_TOKEN ?=123 DOCKER_REPO ?= jacobkiers CLOUDRON ?= cloudron .PHONY: default default: build update .PHONY: init init: ${CLOUDRON} init .PHONY: build build: ${CLOUDRON} build --set-repository $(DOCKER_REPO)/$(CLOUDRON_ID) .PHONY: update update: build ${CLOUDRON} update --server ${CLOUDRON_SERVER} --app ${CLOUDRON_APP} .PHONY: update-ci update-ci: ${CLOUDRON} update --server ${CLOUDRON_SERVER} --app ${CLOUDRON_APP} .PHONY: install install: build ${CLOUDRON} install --location ${CLOUDRON_APP} .PHONY: uninstall uninstall: ${CLOUDRON} uninstall --app ${CLOUDRON_APP} .PHONY: install-debug install-debug: ${CLOUDRON} install --location ${CLOUDRON_APP} --debug .PHONY: exec exec: ${CLOUDRON} exec --app ${CLOUDRON_APP} .PHONY: logs logs: ${CLOUDRON} logs -f --app ${CLOUDRON_APP}