Create file for updating images like Nextcloud.
This commit is contained in:
parent
86a52e3b38
commit
55fe458816
12
bin/update.sh
Normal file
12
bin/update.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# 2022-09-25 Hyperling
|
||||
# Script to update a docker compose image.
|
||||
|
||||
docker compose down
|
||||
docker compose pull &&
|
||||
docker compose up -d &&
|
||||
exit 0
|
||||
|
||||
echo "ERROR: Did not update or start correctly." &&
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user