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:
Matt Jadud
2025-12-06 15:00:46 -05:00
parent fa39ef6292
commit 70535895da
7 changed files with 254 additions and 39 deletions

19
Dockerfile.template Normal file
View File

@@ -0,0 +1,19 @@
FROM cloudron/base:5.0.0
# Garage wants these directories for storing stuff.
# We want it here so that /app/data gets backed up.
RUN mkdir -p /app/data/garage/data /app/data/garage/meta
ADD https://garagehq.deuxfleurs.fr/_releases/VERSION/x86_64-unknown-linux-musl/garage /usr/bin/garage
RUN chmod 755 /usr/bin/garage
COPY garage.toml /garage/garage.toml
# Create a symlink that will become dead; we'll fill it again
# with the startup script.
RUN ln -s /app/data/garage.toml /etc/garage.toml
COPY start.bash /garage/start.bash
RUN chmod 755 /garage/start.bash
CMD [ "/garage/start.bash" ]