This deploys, works. Now, to figure out the WWW hosting and see if the admin API is secure.
21 lines
392 B
Makefile
21 lines
392 B
Makefile
VERSION?=v2.1.0
|
|
IMAGE?=garage:latest
|
|
DOMAIN?=garage
|
|
|
|
templates:
|
|
sed -e 's/VERSION/'"${VERSION}"'/g' Dockerfile.template > Dockerfile
|
|
|
|
build: templates
|
|
cloudron build
|
|
|
|
install: build
|
|
cloudron install \
|
|
--location "${DOMAIN}" \
|
|
--secondary-domains \
|
|
GARAGE_WEB="web.${DOMAIN}",GARAGE_ADMIN="admin.${DOMAIN}"
|
|
|
|
uninstall:
|
|
cloudron uninstall --app "${DOMAIN}"
|
|
|
|
update:
|
|
cloudron update
|