This commit is contained in:
Andras Bacsai
2023-04-27 14:45:45 +02:00
parent d51167d770
commit 4435563f1e
3 changed files with 33 additions and 18 deletions

View File

@@ -1,4 +1,10 @@
#!/bin/bash
## Do not modify this file. You will lost the ability to autoupdate!
VERSION="0.1.0"
if [ "$EUID" -ne 0 ]; then
echo "Please run as root"
exit
fi
docker run --pull always -v /data/coolify/source:/data/coolify/source -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/coollabsio/coolify-builder bash -c "APP_TAG=${1:-} docker compose --env-file /data/coolify/source/.env -f /data/coolify/source/docker-compose.yml -f /data/coolify/source/docker-compose.prod.yml up -d --pull always --remove-orphans --force-recreate"