Nginx/Node/Redis and Flask/Redis Compose example

Signed-off-by: ajeetraina <ajeetraina@gmail.com>
This commit is contained in:
ajeetraina
2022-03-13 12:31:04 +05:30
parent e9e4a51101
commit aa1d5431df
10 changed files with 10 additions and 138 deletions

View File

@@ -6,12 +6,14 @@ services:
- '6379:6379'
web1:
restart: on-failure
build: ./web1
build: ./web
hostname: web1
ports:
- '81:5000'
web2:
restart: on-failure
build: ./web2
build: ./web
hostname: web2
ports:
- '82:5000'
nginx: