Upgrade HAProxy to 2.4.2; Added examples
This commit is contained in:
parent
0429f9a366
commit
364fce10d1
8 changed files with 170 additions and 21 deletions
18
examples/static/docker-compose.yml
Normal file
18
examples/static/docker-compose.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
haproxy:
|
||||
image: byjg/easy-haproxy
|
||||
volumes:
|
||||
- ./config.yml:/etc/haproxy/easyconfig.yml
|
||||
- ./host1.local.pem:/etc/certs/host1.local.pem
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
DISCOVER: static
|
||||
ports:
|
||||
- "80:80/tcp"
|
||||
- "443:443/tcp"
|
||||
- "1936:1936/tcp"
|
||||
|
||||
container:
|
||||
image: byjg/static-httpserver
|
||||
Loading…
Add table
Add a link
Reference in a new issue