version: '3' | |
services: | |
nginxlb: | |
image: openresty/openresty:alpine | |
volumes: | |
- "./lbnginx.conf:/usr/local/openresty/nginx/conf/nginx.conf" | |
ports: | |
- "8080:8080" | |
nginx1: | |
image: openresty/openresty:alpine | |
volumes: | |
- "./nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf" | |
ports: | |
- "8080" | |
nginx2: | |
image: openresty/openresty:alpine | |
volumes: | |
- "./nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf" | |
ports: | |
- "8080" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment