mirror of
https://github.com/sergeyyarkov/node-docker-example.git
synced 2026-10-11 02:09:22 +03:00
readme
This commit is contained in:
parent
dc89a9eb00
commit
fba953057d
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user