Back to Browse

Deploying a TypeScript backend to DigitalOcean using Docker & GitHub Actions

4.5K views
Jan 14, 2025
14:08

See how to deploy a TypeScript backend app built with Encore.ts using Docker. We cover all the steps from local development to running in the cloud on DigitalOcean, including setting up continuous deployments using GitHub Actions. *Links mentioned* - DigitalOcean self-host docs: https://encore.dev/docs/ts/self-host/deploy-digitalocean - Railway self-host docs: https://encore.dev/docs/ts/self-host/deploy-railway - Encore performance benchmarks: https://encore.dev/blog/event-loops - Encore GitHub: https://github.com/encoredev/encore *Chapters* 00:00 - Intro 00:20 - What is Encore 01:02 - Performance benchmark 01:29 - Deploying using Docker images 02:10 - Create new app 02:57 - Run locally 03:11 - Local development dashboard 03:26 - Build Docker image 04:00 - Set up continuous deployment 05:45 - Running GitHub Action 06:20 - Deploy app 07:12 - Test live app 07:40 - Add database 09:20 - Connecting cloud database 10:22 - Runtime config 11:56 - Encore Cloud intro 12:43 - Deploy automatically using Encore Cloud 13:42 - Outro

Download

1 formats

Video Formats

360pmp432.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Deploying a TypeScript backend to DigitalOcean using Docker & GitHub Actions | NatokHD