The idea of proxying in front of Garage may be warranted, to handle some of the ways that it subdomains further. However, I'm not there yet.
23 lines
385 B
Makefile
23 lines
385 B
Makefile
SHELL:=/bin/bash
|
|
VERSION?=v2.1.0
|
|
IMAGE?=garage:latest
|
|
DOMAIN?=garage
|
|
|
|
test-build:
|
|
docker build -t garage:latest .
|
|
|
|
build: templates
|
|
cloudron build
|
|
|
|
install: build uninstall
|
|
cloudron install \
|
|
--location "${DOMAIN}" \
|
|
--secondary-domains \
|
|
GARAGE_WEB="web.${DOMAIN}",GARAGE_ADMIN="admin.${DOMAIN}"
|
|
|
|
update:
|
|
cloudron update
|
|
|
|
uninstall:
|
|
cloudron uninstall --app "${DOMAIN}"
|