awesome-compose/nginx-nodejs-redis/docker-compose.yml
Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc 04f8c9ca12
Nginx/Node/Redis and Flask/Redis Compose example (#222)
* Added Node, Nginx and Redis Project
* Added Flask/Redis
2022-03-17 17:33:36 +01:00

28 lines
370 B
YAML

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