This commit is contained in:
Alexandre
2025-07-15 21:32:32 +02:00
parent add1fa3b20
commit 211bcc6556
7 changed files with 55 additions and 12 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/with-contenv bash
set -e
CONFIG_FILE="/config/museum.yaml"
# Safety: refuse to start if the config file is missing
if [[ ! -f "$CONFIG_FILE" ]]; then
echo "[museum] ERROR: $CONFIG_FILE not found" >&2
exit 1
fi
# Exec so that S6 can reap the PID
exec /usr/bin/museum --config "$CONFIG_FILE"

View File

@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
set -e
exec /usr/local/bin/minio server /data --address ":3200"

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bash
set -e
[[ "${DISABLE_WEB_UI,,}" == "true" ]] && exit 0
exec /usr/bin/ente-web