Adding better docs.
This deploys, works. Now, to figure out the WWW hosting and see if the admin API is secure.
This commit is contained in:
21
Makefile
Normal file
21
Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in New Issue
Block a user