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
Environment setup
Joao Patricio5c22dd35cf9e
diff --git a/.env.example b/.env.exampleindex ab8f680720..f6b965c916 100644--- a/.env.example+++ b/.env.example@@ -1,8 +1,10 @@############################################################################################################# Development Environment-# Userid for the user that will run the application inside the container+# User and group id for the user that will run the application inside the container+# Run in your terminal: `id -u` and `id -g` and that's the resultsUSERID=+GROUPID=############################################################################################################APP_NAME=Laravel@@ -11,10 +13,6 @@ APP_KEY=APP_DEBUG=trueAPP_URL=http://localhost-LOG_CHANNEL=stack-LOG_DEPRECATIONS_CHANNEL=null-LOG_LEVEL=debug-DB_CONNECTION=pgsqlDB_HOST=postgresDB_PORT=5432@@ -22,18 +20,4 @@ DB_DATABASE=coolifyDB_USERNAME=sailDB_PASSWORD=password-BROADCAST_DRIVER=log-CACHE_DRIVER=file-FILESYSTEM_DISK=local-QUEUE_CONNECTION=sync-SESSION_DRIVER=file-SESSION_LIFETIME=120--MAIL_MAILER=smtp-MAIL_HOST=mailpit-MAIL_PORT=1025-MAIL_USERNAME=null-MAIL_PASSWORD=null-MAIL_ENCRYPTION=null-MAIL_FROM_ADDRESS="[email protected]"-MAIL_FROM_NAME="${APP_NAME}"\ No newline at end of file+QUEUE_CONNECTION=redisdiff --git a/docker-compose.yaml b/docker-compose.yamlindex dc02e3db8c..b22e872feb 100644--- a/docker-compose.yaml+++ b/docker-compose.yaml@@ -8,11 +8,11 @@ services:- "${APP_PORT:-8000}:80"- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"environment:- PGID: "${USERID:-9999}"PUID: "${USERID:-9999}"+ PGID: "${GROUPID:-9999}"SSL_MODE: 'off'volumes:- - .:/var/www/html:cached+ - .:/var/www/htmlpostgres:image: postgres:15-alpineports:@@ -34,11 +34,7 @@ services:]retries: 3timeout: 5s- mailpit:- image: "axllent/mailpit:latest"- ports:- - "${FORWARD_MAILPIT_PORT:-1025}:1025"- - "${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025"+volumes:db-coolify:driver: localdiff --git a/package-lock.json b/package-lock.jsonindex 63682f7932..ece4b4d9c2 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,5 +1,5 @@{- "name": "html",+ "name": "coolify","lockfileVersion": 3,"requires": true,"packages": {