Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Created January 26, 2019 00:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leandromoreira/de9b3c5e3665c496cb46133112cf137d to your computer and use it in GitHub Desktop.
Save leandromoreira/de9b3c5e3665c496cb46133112cf137d to your computer and use it in GitHub Desktop.
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