This commit is contained in:
Andras Bacsai
2023-04-28 11:54:01 +02:00
parent 2fb8d928e5
commit 321087cb6d
4 changed files with 31 additions and 9 deletions

View File

@@ -2,9 +2,4 @@
## 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"