Adopt Compose v2 (#240)
* Adopt Compose v2 Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
27
nginx-nodejs-redis/compose.yaml
Normal file
27
nginx-nodejs-redis/compose.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: 'redislabs/redismod'
|
||||
ports:
|
||||
- '6379:6379'
|
||||
web1:
|
||||
restart: on-failure
|
||||
build: ./web
|
||||
hostname: web1
|
||||
ports:
|
||||
- '81:5000'
|
||||
web2:
|
||||
restart: on-failure
|
||||
build: ./web
|
||||
hostname: web2
|
||||
ports:
|
||||
- '82:5000'
|
||||
nginx:
|
||||
build: ./nginx
|
||||
ports:
|
||||
- '80:80'
|
||||
depends_on:
|
||||
- web1
|
||||
- web2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user