cloudron-powerdns/Makefile
Jacob Kiers 9d162b257a Initial commit
Signed-off-by: Jacob Kiers <code@kiers.eu>
2023-12-06 22:33:27 +01:00

46 lines
918 B
Makefile

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}