Skip to content

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.

wip

Andras Bacsaid1b266a361ec
diff --git a/.github/workflows/coolify-builder.yml b/.github/workflows/coolify-builder.yml
index b91bdf3a23..24f1c91a9c 100644
--- a/.github/workflows/coolify-builder.yml
+++ b/.github/workflows/coolify-builder.yml
@@ -19,7 +19,7 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- - name: Build imaged and push to registry
+ - name: Build image and push to registry
uses: docker/build-push-action@v3
with:
no-cache: true
diff --git a/.github/workflows/production-build.yml b/.github/workflows/production-build.yml
index c666edaa97..905377970e 100644
--- a/.github/workflows/production-build.yml
+++ b/.github/workflows/production-build.yml
@@ -19,7 +19,7 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- - name: Build imaged and push to registry
+ - name: Build image and push to registry
uses: docker/build-push-action@v3
with:
context: .
diff --git a/bootstrap/helpers.php b/bootstrap/helpers.php
index 46028e545a..f9be10786a 100644
--- a/bootstrap/helpers.php
+++ b/bootstrap/helpers.php
@@ -128,7 +128,7 @@ if (!function_exists('runRemoteCommandSync')) {
$exitCode = $process->exitCode();
if ($exitCode !== 0) {
Log::error($output);
- throw new \RuntimeException('There was an error running the command.');
+ // throw new \RuntimeException('There was an error running the command.');
}
return $output;
}
diff --git a/scripts/install.sh b/scripts/install.sh
index 5f7edbdba5..2b31d968f3 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -38,8 +38,8 @@ echo ".env.example downloaded successfully"
# Copy .env.example if .env does not exist
if [ ! -f /data/coolify/source/.env ]; then
cp /data/coolify/source/.env.example /data/coolify/source/.env
- sed -i 's/APP_ENV=.*/APP_ENV=local/g' /data/coolify/source/.env
- sed -i 's/APP_DEBUG=.*/APP_DEBUG=true/g' /data/coolify/source/.env
+ sed -i 's/APP_ENV=.*/APP_ENV=production/g' /data/coolify/source/.env
+ sed -i 's/APP_DEBUG=.*/APP_DEBUG=false/g' /data/coolify/source/.env
sed -i "s|APP_KEY=.*|APP_KEY=base64:$(openssl rand -base64 32)|g" /data/coolify/source/.env
sed -i "s|DB_PASSWORD=.*|DB_PASSWORD=$(openssl rand -base64 32)|g" /data/coolify/source/.env
fi