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
15 changed files with 727 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
FROM nginx:1.21.6
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf

View File

@@ -0,0 +1,12 @@
upstream loadbalancer {
server web1:5000;
server web2:5000;
}
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://loadbalancer;
}
}