https://github.com/greathayat/deploy-with-docker
This is an example of deploying a nodejs application using docker registry and digital ocean
https://github.com/greathayat/deploy-with-docker
deployment-automation digitalocean docker docker-registry github github-actions nodejs
Last synced: 3 months ago
JSON representation
This is an example of deploying a nodejs application using docker registry and digital ocean
- Host: GitHub
- URL: https://github.com/greathayat/deploy-with-docker
- Owner: GreatHayat
- Created: 2022-09-19T08:45:06.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-20T07:12:16.000Z (almost 4 years ago)
- Last Synced: 2025-03-05T13:52:19.468Z (over 1 year ago)
- Topics: deployment-automation, digitalocean, docker, docker-registry, github, github-actions, nodejs
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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