Skip to content

This is an example of deploying a nodejs application using docker registry and digital ocean

Notifications You must be signed in to change notification settings

GreatHayat/deploy-with-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy NodeJS application to Digital Ocean using Github actions and Docker hub

Run the project on local machine

Without Docker

  • clone the repository
  • cd deploy-with-docker
  • npm install
  • npm start

With Docker (make sure, you have installed docker on your machine)

  • clone the repository
  • cd deploy-with-docker
  • docker build -t .
  • docker run -p 5000:5000

PS

If you want to use the github action workflow, then please add the necessary secrets in your repository settings and you must have

- Digital Ocean Account (you can use alternative service as well)
- Docker container registry source (For this, I have used docker hub registry)

TODO I'll add the workflow for

  • AWS Container Registry
  • Google Cloud Container Registry

About

This is an example of deploying a nodejs application using docker registry and digital ocean

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published