Move all files to root

This commit is contained in:
2025-11-23 16:12:26 -06:00
parent c3e5976368
commit dfc621a9ff
61 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
FROM caddy:builder AS builder
RUN xcaddy build \
--with github.com/greenpau/caddy-security \
--with github.com/caddy-dns/cloudflare
FROM caddy:latest
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

View File

@@ -0,0 +1,38 @@
FROM node:20
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
curl \
grep \
sed \
unzip \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
ARG FOUNDRY_USERNAME
ARG FOUNDRY_PASSWORD
ENV FOUNDRY_USERNAME=$FOUNDRY_USERNAME
ENV FOUNDRY_PASSWORD=$FOUNDRY_PASSWORD
WORKDIR /app
COPY . .
RUN \
# Check release page for latest version
# Foundry uses a MAJOR.BUILDVERSION so you can just find the highest build version
release=$(curl -X GET https://foundryvtt.com/releases/ | grep -B 5 "Stable" | grep 'title="Release ' | head -1 | sed -n 's/.*\/releases\/[0-9]\+\.\([0-9]\+\).*/\1/p') && \
# Go to page to prep the middleware token
token=$(curl -X GET -c cookie.txt https://foundryvtt.com | grep "csrfmiddlewaretoken" | head -1 | sed 's/.*"\([^"]*\)".*/\1/') && \
# Login w/ middleware token and login info
curl -X POST -c cookie.txt --cookie cookie.txt -v -F "username=${FOUNDRY_USERNAME}" -F "password=${FOUNDRY_PASSWORD}" -F "csrfmiddlewaretoken=${token}" -H "Referer: https://foundryvtt.com" https://foundryvtt.com/auth/login/ && \
release=$(curl -X GET https://foundryvtt.com/releases/ | grep -B 5 "Stable" | grep 'title="Release ' | head -1 | sed -n 's/.*\/releases\/[0-9]\+\.\([0-9]\+\).*/\1/p') && \
# Downloads the software
curl -L --cookie cookie.txt -o foundryvtt.zip "https://foundryvtt.com/releases/download?build=${release}&platform=linux"
RUN unzip foundryvtt.zip
EXPOSE 30000
CMD ["node", "resources/app/main.js"]

30
resources/nextcloud.yml Normal file
View File

@@ -0,0 +1,30 @@
nextcloud:
username: "admin"
nodeSelector:
location: de
persistence:
enabled: true
size: 25Gi
storageClass: "hcloud-volumes"
mariadb:
enabled: true
volumePermissions:
enabled: true
securityContext:
runAsUser: 0
securityContext:
enabled: true
fsGroup: 1001
containerSecurityContext:
enabled: true
runAsUser: 1001
runAsGroup: 1001
nodeSelector:
location: de
redis:
enabled: true
nodeSelector:
location: de

19
resources/openbao.yml Normal file
View File

@@ -0,0 +1,19 @@
ui:
enabled: true
server:
standalone:
enabled: true
readinessProbe:
enabled: true
path: "/v1/sys/health"
ha:
enabled: false
dataStorage:
enabled: true
size: 2Gi
storageClass: "hcloud-volumes"
nodeSelector:
location: "de"