Update Docker Compose file format 3

This commit is contained in:
khs1994
2017-11-23 15:48:52 +08:00
parent 99401dcc4f
commit cbc8f54ed7
21 changed files with 429 additions and 347 deletions

View File

@@ -0,0 +1,29 @@
version: "3"
services:
weba:
build: ./web
expose:
- 80
webb:
build: ./web
expose:
- 80
webc:
build: ./web
expose:
- 80
haproxy:
image: haproxy:latest
volumes:
- ./haproxy:/haproxy-override
- ./haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
ports:
- "80:80"
- "70:70"
expose:
- "80"
- "70"