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
fix
Andras Bacsai6077a1c448da
diff --git a/.env.development.example b/.env.development.exampleindex 55457a6d63..61ff261c70 100644--- a/.env.development.example+++ b/.env.development.example@@ -1,4 +1,3 @@-SELF_HOSTED=true############################################################################################################# Development Environment@@ -6,33 +5,14 @@ SELF_HOSTED=true# Run in your terminal: `id -u` and `id -g` and that's the resultsUSERID=GROUPID=-PROJECT_PATH_ON_HOST=/Users/your-username-here/code/coollabsio/coolify-SERVEO_URL=<for receiving webhooks locally https://serveo.net/>-MUX_ENABLED=false-# If you are using the included Buggregator-RAY_PORT=8001############################################################################################################-APP_NAME=CoolifyAPP_ENV=localAPP_KEY=APP_DEBUG=true+APP_URL=http://localhostAPP_PORT=8000-MAIL_MAILER=smtp-MAIL_HOST=coolify-mail-MAIL_PORT=1025--SESSION_DRIVER=databaseDUSK_DRIVER_URL=http://selenium:4444-DB_CONNECTION=pgsql-DB_HOST=postgres-DB_PORT=5432-DB_DATABASE=coolify-DB_USERNAME=coolifyDB_PASSWORD=password--QUEUE_CONNECTION=redis-REDIS_HOST=coolify-redisdiff --git a/config/sentry.php b/config/sentry.phpindex a1e21463fd..9c9ef0b6f5 100644--- a/config/sentry.php+++ b/config/sentry.php@@ -7,10 +7,10 @@ return [// The release version of your application// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))- 'release' => config('version'),+ 'release' => trim(exec('jq -r .coolify.v4.version ../versions.json')),// When left empty or `null` the Laravel environment will be used- 'environment' => env('SENTRY_ENVIRONMENT'),+ 'environment' => config('app.env'),'breadcrumbs' => [// Capture Laravel logs in breadcrumbsdiff --git a/docker-compose.prod.yml b/docker-compose.prod.ymlindex d7944b9225..49b0487dc1 100644--- a/docker-compose.prod.yml+++ b/docker-compose.prod.yml@@ -44,16 +44,16 @@ services:volumes:- coolify-db:/var/lib/postgresql/dataenvironment:- POSTGRES_USER: "${DB_USERNAME}"+ POSTGRES_USER: "${DB_USERNAME:-coolify}"POSTGRES_PASSWORD: "${DB_PASSWORD}"- POSTGRES_DB: "${DB_DATABASE}"+ POSTGRES_DB: "${DB_DATABASE:-coolify}"healthcheck:test:["CMD-SHELL",- "pg_isready -U ${DB_USERNAME}",+ "pg_isready -U ${DB_USERNAME:-coolify}","-d",- "${DB_DATABASE}"+ "${DB_DATABASE:-coolify}"]interval: 2sretries: 5diff --git a/docker/dev-ssu/Dockerfile b/docker/dev-ssu/Dockerfileindex 4236dd9938..37cffb5303 100644--- a/docker/dev-ssu/Dockerfile+++ b/docker/dev-ssu/Dockerfile@@ -1,6 +1,6 @@FROM serversideup/php:8.2-fpm-nginxARG POSTGRES_VERSION=15-RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs postgresql-client+RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs jqRUN apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*COPY docker/dev-ssu/nginx.conf /etc/nginx/conf.d/custom.conf