Рет қаралды 20,633
In this video CJ shows you what Coolify is, what it does, how to choose a server to deploy it to, how to lock it down with https, how to deploy several types of applications on it, how to setup s3 compatible storage for file uploads / backups and more.
View all the Self Host 101 videos here: • Self Host 101
00:00 Intro
00:56 What can you do with Coolify?
02:09 Coolify minimum specs required
02:59 Create a VPS with Hetzner and Set Up with Cloud Config
06:16 ssh into VPS as root and update / upgrade
07:18 Install Coolify
08:29 Coolify: localhost vs remote server
10:25 Update VPS user passwords
11:51 Set up Coolify https instance domain and https wildcard domain
16:04 Why not Cloudflare?
16:41 Create a firewall and lock down all unused ports
17:47 Update Coolify user password and setup 2fa
18:49 Deploy a static website to Coolify with an https subdomain
20:55 www redirects and custom Caddy configs
25:25 Create dynamic proxy configurations
27:04 Create a basic Next.js project in Coolify
28:09 What is nixpacks?
29:37 Deploy a basic Next.js application with nixpacks
31:38 Create a Github application in Coolify
33:31 Deploy a Next.js app with auto deploy
35:41 Create a postgres database for a t3 application
37:10 Create a Dockerfile to push the db schema to our database
40:35 Create a Dockerfile to push the db schema from a private repo
44:46 Deploy a t3 app
47:10 Set up http basic auth with Caddy
51:01 Upgrade Coolify
52:06 Deploy a git repo with an existing docker compose file
59:26 VPS status dashboards
01:00:56 Deploy a service with docker compose
01:04:13 Deploy supabase and monitor VPS status during deploy
01:07:00 Set up minIO / s3 compatible storage
01:10:42 Configure database backups
01:15:17 Coolify cloud demo
01:18:37 Where and how to get help with Coolify
01:22:22 CJ's opinions and final thoughts about Coolify
01:28:20 Thanks!
List to episode 730 of Syntax: syntax.fm/show/730/own-your-o...
Coolify: coolify.io/
Learn more about hetzner: www.hetzner.com/cloud/
Sign up for hetzner with coolify affiliate link (supports the coolify creator): coolify.io/hetzner
Cloud Config Example: gist.github.com/w3cj/cdd447b1...
Cloud init documentation: cloudinit.readthedocs.io/en/l...
Learn about DNS in the Self Host Series: • Self Host 101 - Run Mu...
Read the Caddy docs: caddyserver.com/
Read the caddy-docker-proxy docs: github.com/lucaslorentz/caddy...
Caddy redir directive: caddyserver.com/docs/caddyfil...
nixpacks: github.com/railwayapp/nixpacks
How nixpacks works: nixpacks.com/docs/how-it-works
nixpacks custom file: nixpacks.com/docs/configurati...
Learn Docker: • Start Using Docker Tod...
Dockerfile to clone from private repo with SSH key: gist.github.com/w3cj/8b510e32...
Caddy basicauth directive: caddyserver.com/docs/caddyfil...
glances: github.com/nicolargo/glances
glances docker docs: github.com/nicolargo/glances/...
grafana: grafana.com
prometheus: prometheus.io/docs/introducti...
node_exporter: github.com/prometheus/node_ex...
Monitoring a Linux host with Prometheus, Node Exporter, and Docker Compose: grafana.com/docs/grafana-clou...
minio: min.io/docs/minio/linux/index...
Coolify cloud: coolify.io/pricing
Join the Coolify discord: coolify.io/discord
Open an issue on Coolify: github.com/coollabsio/coolify...
Have a discussion about Coolify: github.com/coollabsio/coolify...
Corrections:
5:08 Since v4.0.0-beta.259 - coolify allows for a non root user with sudo NOPASSWD privileges. See description for link to docs: coolify.io/docs/knowledge-bas...
------------------------------------------------------------------------------
Hit us up on Socials!
www.syntax.fm/links
Brought to you by Sentry - Use code "tastytreats" to get 2 months free - sentry.io/syntax
#vps #webdevelopment #selfhosted