mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-20 05:23:42 +00:00
30 lines
424 B
YAML
30 lines
424 B
YAML
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"
|