1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-26 02:38:07 +02:00

Added Nginx, Node and Redis project

This commit is contained in:
ajeetraina 2022-03-05 12:23:50 +05:30
parent 6531426a96
commit 22c1733e20
12 changed files with 183 additions and 0 deletions

View file

@ -0,0 +1,25 @@
version: '3.9'
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