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

Nginx/Node/Redis and Flask/Redis Compose example (#222)

* Added Node, Nginx and Redis Project
* Added Flask/Redis
This commit is contained in:
Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc 2022-03-17 22:03:36 +05:30 committed by GitHub
parent 05095bbe0d
commit 04f8c9ca12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 727 additions and 2 deletions

View 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