adding the config files for deploying this remote

This commit is contained in:
itsamejms
2026-06-04 18:50:02 +01:00
commit 35a1af7852
5 changed files with 101 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# Step 1: Grab the official Litestream binary
FROM litestream/litestream:0.3.13 AS litestream
# Step 2: Build our actual runtime container using official Gitea
FROM gitea/gitea:1.22.0
# Copy Litestream binary into the Gitea container
COPY --from=litestream /usr/local/bin/litestream /usr/local/bin/litestream
# Copy our custom configuration files
COPY litestream.yml /etc/litestream.yml
COPY entrypoint.sh /usr/local/bin/litestream-entrypoint.sh
# Make sure our script is executable by the container
RUN chmod +x /usr/local/bin/litestream-entrypoint.sh
# Re-route the container's entrypoint to use our custom script
ENTRYPOINT ["/usr/local/bin/litestream-entrypoint.sh"]