Тёмный

Build a Podcast App Part 4: Deploy to Railway with Laravel, Livewire, Postgres, PGVector, PostGIS 

GringoDotDev
Подписаться 306
Просмотров 368
50% 1

Table of contents:
00:00 - intro
01:13 - database setup
03:18 - link project from github
04:38 - custom deploy script
06:50 - environment variables
09:00 - custom build and start commands
11:35 - testing out the app
Here is the stoic podcast repo if you'd like to deploy this yourself:
github.com/GringoDotDev/stoic...
Here is a link to the deploy.sh deploy script:
github.com/GringoDotDev/stoic...
Here is the custom start command for laravel octane:
php artisan octane:start --host=0.0.0.0 --port=$PORT --server=roadrunner --max-requests=500 --workers=auto --no-interaction --watch
And here are some environment variables to get you started with railway:
MAINTENANCE_MODE=false
APP_NAME=The Stoic Developer
APP_ENV=production
APP_KEY=FILL_ME_IN
APP_DEBUG=false
APP_URL=${{RAILWAY_PUBLIC_DOMAIN}}
LOG_CHANNEL=stderr
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=pgsql
DATABASE_URL=${{timescale-postgis.DATABASE_URL}}
BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=database
SESSION_LIFETIME=120
MEMCACHED_HOST=127.0.0.1
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=hello@example.com
MAIL_FROM_NAME=${APP_NAME}
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_HOST=
PUSHER_PORT=443
PUSHER_SCHEME=https
PUSHER_APP_CLUSTER=mt1
VITE_APP_NAME=${APP_NAME}
VITE_PUSHER_APP_KEY=${PUSHER_APP_KEY}
VITE_PUSHER_HOST=${PUSHER_HOST}
VITE_PUSHER_PORT=${PUSHER_PORT}
VITE_PUSHER_SCHEME=${PUSHER_SCHEME}
VITE_PUSHER_APP_CLUSTER=${PUSHER_APP_CLUSTER}
This video is available in Spanish here: • Construyendo una app d...

Наука

Опубликовано:

 

27 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@thecalmmind1369
@thecalmmind1369 7 месяцев назад
thank you for this video. it was really helpful. but i ve been having this error: ERROR: failed to solve: process "/bin/bash -ol pipefail -c ./deploy.sh" did not complete successfully: exit code: 126 Error: Docker build failed
@GringoDotDev
@GringoDotDev 7 месяцев назад
I’m glad you liked it! Have you run ‘chmod +x deploy.sh’? Without seeing the full trace my guess would be a lack of executable permission on the file
Далее
Heroku Is Dead, Here's What I Recommend
11:59
Просмотров 248 тыс.
How to Use GitHub to Update a Database Automatically
20:51
The Ease of Deployment Tier List for Laravel Developers
21:14
Golang is OG?
5:16
Просмотров 5 тыс.
How to Free Up Space in Windows
4:06
Просмотров 8 тыс.
Deploy Laravel applications fast and cheap
8:54
Просмотров 21 тыс.
Choose Boring Technology
19:38
Просмотров 412
PHP is the future
34:27
Просмотров 168 тыс.
Vercel vs Netlify - Which One Should You Use?
6:43
Просмотров 8 тыс.
iOS 18 vs Samsung, Xiaomi,Tecno, Android
0:54
Просмотров 92 тыс.