This commit is contained in:
Sergey Yarkov 2022-09-08 18:11:16 +03:00 committed by GitHub
parent dc89a9eb00
commit fba953057d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ articles, each article has a separate page, all data about the article
is stored in the PostgreSQL database. Docker is used to deploy the is stored in the PostgreSQL database. Docker is used to deploy the
application. application.
🔗 [Deployed on Heroku](https://website-simple-blog.herokuapp.com/) 🔗 [Deployed on Render](https://node-docker-example.onrender.com)
## Folder structure ## Folder structure
@ -28,9 +28,9 @@ application.
## How to deploy ## How to deploy
- 1. Clone this repository `git clone https://github.com/sergeyyarkov/node-docker-example.git .` 1. Clone this repository `git clone https://github.com/sergeyyarkov/node-docker-example.git .`
- 2. Configure enviroment variables in `docker-compose.yml` for `postgres` and `nodejs` serivces if you need to 2. Configure enviroment variables in `docker-compose.yml` for `postgres` and `nodejs` serivces if you need to
- 3. Build and run application with `docker-compose up --build` 3. Build and run application with `docker-compose up --build`
## Requirements ## Requirements