auto pull und compose

This commit is contained in:
Daniel Nagel 2025-08-30 15:47:54 +02:00
parent d9ea702202
commit 6908d23131
2 changed files with 12 additions and 2 deletions

View File

@ -5,5 +5,6 @@ services:
ports:
- "2001:80"
volumes:
- /srv/:containerPath:ro
- /srv/arenos-map:/srv:ro
command: ["caddy","file-server","--root","/srv","--listen",":80"]

9
update_repo.sh Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
# ins Verzeichnis wechseln, wo das Script selbst liegt
cd "$(dirname "$0")"
# git aktualisieren
git fetch origin
git pull