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.

update gitpod

Andras Bacsai706088b9b378
diff --git a/.gitpod.yml b/.gitpod.yml
index 65508a04cb..d69e693af9 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -1,40 +1,46 @@
tasks:
- - name: Setup Sail environment and Composer dependencies
+ - name: Setup Spin environment and Composer dependencies
# Fix because of https://github.com/gitpod-io/gitpod/issues/16614
before: sudo curl -o /usr/local/bin/docker-compose -fsSL https://github.com/docker/compose/releases/download/v2.16.0/docker-compose-linux-$(uname -m)
init: |
cp .env.example .env &&
sed -i "s#APP_URL=http://localhost#APP_URL=$(gp url 80)#g" .env
- sed -i "s#GITPOD_VITE_URL=#GITPOD_VITE_URL=$(gp url 5173)#g" .env
+ sed -i "s#USERID=#USERID=33333#g" .env
+ sed -i "s#GROUPID=#GROUPID=33333#g" .env
composer install --ignore-platform-reqs
./vendor/bin/spin up -d
./vendor/bin/spin exec -u webuser coolify php artisan key:generate
./vendor/bin/spin exec -u webuser coolify php artisan storage:link
./vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --seed
cat .coolify-logo
- gp sync-done sail-is-ready
+ gp sync-done spin-is-ready
- name: Install Node dependencies and run Vite
command: |
echo "Waiting for Sail environment to boot up."
- gp sync-await sail-is-ready
+ gp sync-await spin-is-ready
./vendor/bin/spin exec vite npm install
./vendor/bin/spin exec vite npm run dev
- name: Laravel Queue Worker, listening to code changes
command: |
echo "Waiting for Sail environment to boot up."
- gp sync-await sail-is-ready
+ gp sync-await spin-is-ready
./vendor/bin/spin exec -u webuser coolify php artisan queue:listen
ports:
- - port: 3306
+ - port: 5432
onOpen: ignore
- name: MySQL Database Port
+ name: PostgreSQL
+ visibility: public
- port: 5173
onOpen: ignore
visibility: public
name: Node Server for Vite
+ - port: 8000
+ onOpen: ignore
+ visibility: public
+ name: Coolify
# Configure vscode
vscode: