mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
nginx-nodejs-redis: add dev envs config
* Add Docker Desktop Development Environments config * Upgrade NodeJS image * Rename `nginx` to `proxy` and use bind mount for config for consistency with other examples Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
parent
9d547d23fb
commit
a6048a745a
7 changed files with 182 additions and 66 deletions
12
nginx-nodejs-redis/proxy/nginx.conf
Normal file
12
nginx-nodejs-redis/proxy/nginx.conf
Normal file
|
@ -0,0 +1,12 @@
|
|||
upstream loadbalancer {
|
||||
server web1:5000;
|
||||
server web2:5000;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
location / {
|
||||
proxy_pass http://loadbalancer;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue