Create file for updating images like Nextcloud.

This commit is contained in:
Hyperling 2022-09-25 08:24:38 -05:00
parent 86a52e3b38
commit 55fe458816

12
bin/update.sh Normal file
View 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