mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
chore(scripts): handle a missing coolify-realtime container in the backup restore VM script
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8106cb7cfa
commit
5e1e199ad4
@@ -283,7 +283,9 @@ done
|
||||
|
||||
# Start the same image tag again after the restore.
|
||||
LATEST_IMAGE=$(docker inspect -f '{{.Config.Image}}' coolify | sed 's/.*://')
|
||||
docker stop coolify coolify-realtime >/dev/null
|
||||
docker stop coolify >/dev/null
|
||||
# coolify-realtime only exists before 4.4; compose recreates it when the restored version still uses it.
|
||||
docker rm -f coolify-realtime >/dev/null 2>&1 || true
|
||||
|
||||
sed -i "s|^APP_KEY=.*|APP_KEY=${APP_KEY}|" .env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user