27 lines
498 B
Makefile
27 lines
498 B
Makefile
SHELL:=/bin/bash
|
|
VERSION?=v2.1.0
|
|
IMAGE?=garage:latest
|
|
DOMAIN?=garage
|
|
|
|
test-build:
|
|
docker build -t garage:latest .
|
|
|
|
# jsonnet CloudronManifest.jsonnet > CloudronManifest.json
|
|
build:
|
|
cloudron build
|
|
|
|
install: build uninstall
|
|
cloudron install \
|
|
--location "${DOMAIN}" \
|
|
--alias-domains "*.web.${DOMAIN}","admin.${DOMAIN}","api.${DOMAIN}"
|
|
|
|
# install: build uninstall
|
|
# cloudron install \
|
|
# --location "${DOMAIN}"
|
|
|
|
update:
|
|
cloudron update
|
|
|
|
uninstall:
|
|
- cloudron uninstall --app "${DOMAIN}"
|