10 lines
192 B
YAML
10 lines
192 B
YAML
services:
|
|
haproxy:
|
|
restart: on-failure:3
|
|
build:
|
|
context: .
|
|
image: haproxy
|
|
network_mode: "host"
|
|
volumes:
|
|
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
|