Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Created January 26, 2019 00:47
Embed
What would you like to do?
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