auto pull und compose
This commit is contained in:
parent
d9ea702202
commit
6908d23131
|
|
@ -5,5 +5,6 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "2001:80"
|
- "2001:80"
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/:containerPath:ro
|
- /srv/arenos-map:/srv:ro
|
||||||
|
|
||||||
|
command: ["caddy","file-server","--root","/srv","--listen",":80"]
|
||||||
|
|
|
||||||
9
update_repo.sh
Normal file
9
update_repo.sh
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user