Nginx/Node/Redis and Flask/Redis Compose example
Signed-off-by: ajeetraina <ajeetraina@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user