awesome-compose/nginx-nodejs-redis/docker-compose.yml
Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc 5c7d6d7161
Update docker-compose.yml
2022-03-07 23:03:53 +05:30

26 lines
328 B
YAML

services:
redis:
image: 'redis:alpine'
ports:
- '6379:6379'
web1:
restart: on-failure
build: ./web1
ports:
- '81:5000'
web2:
restart: on-failure
build: ./web2
ports:
- '82:5000'
nginx:
build: ./nginx
ports:
- '80:80'
depends_on:
- web1
- web2