An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Update version and add check for Docker installed via snap
Andras Bacsaia6669ed87634
diff --git a/scripts/install.sh b/scripts/install.shindex 79e71596a7..ad2a8de22d 100644--- a/scripts/install.sh+++ b/scripts/install.sh@@ -6,7 +6,7 @@ set -e # Exit immediately if a command exits with a non-zero status#set -u # Treat unset variables as an error and exitset -o pipefail # Cause a pipeline to return the status of the last command that exited with a non-zero status-VERSION="1.2.2"+VERSION="1.2.3"DOCKER_VERSION="24.0"CDN="https://cdn.coollabs.io/coolify"@@ -122,6 +122,16 @@ if [ "$SSH_PERMIT_ROOT_LOGIN" != "true" ]; thenecho "###############################################################################"fi+# Detect if docker is installed via snap+if [ -x "$(command -v snap)" ]; then+ if snap list | grep -q docker; then+ echo "Docker is installed via snap."+ echo "Please note that Coolify does not support Docker installed via snap."+ echo "Please remove Docker with snap (snap remove docker) and reexecute this script."+ exit 1+ fi+fi+if ! [ -x "$(command -v docker)" ]; thenif [ "$OS_TYPE" == 'almalinux' ]; thendnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo