How To Host An Application On A Server (VPS) Using Docker?

Опубликовано: 02 Ноябрь 2024
на канале: Programonaut
7,095
155

In this guide, you will learn how to host your applications and side projects on a server (VPS)!
This is the second part of a three-part series, and it covers hosting an application using docker and automating the whole process using GitHub Actions.

Original Post: https://www.programonaut.com/how-to-h...
---
Hostinger VPS: https://pgnt.xyz/hostinger-vps – for everyone
Netcup VPS: https://pgnt.xyz/netcup-vps – for german users

Hostinger Domain: https://pgnt.xyz/hostinger-domain
Netcup Domain: https://pgnt.xyz/netcup-domain – for german users

Discord Community: https://pgnt.xyz/discord

Hostinger links are affiliate links.
---
00:00 Introduction
00:34 Install Docker on the server
02:54 Uninstall Apache
03:33 Set up application
04:53 Create a Dockerfile
06:20 Create a git repository
06:53 Bring it to GitHub
07:37 Create a Docker image and store it in ghcr
10:45 Automate the image build and push using Actions
14:00 Host the container using docker compose
14:43 Automate the application deployment
20:25 Conclusion