2021-04-11 03:51:00 +07:00
|
|
|
---
|
2020-01-10 11:49:30 +07:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
haproxy:
|
|
|
|
build: ./example/compose/haproxy/
|
|
|
|
volumes:
|
2020-04-14 06:57:28 +07:00
|
|
|
- ./example/compose/haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
|
2020-09-10 07:52:57 +07:00
|
|
|
- ./example/compose/haproxy/http.lua:/usr/local/etc/haproxy/haproxy-lua-http/http.lua
|
2020-05-06 08:50:37 +07:00
|
|
|
- ./example/compose/haproxy/auth-request.lua:/usr/local/etc/haproxy/auth-request.lua
|
2020-01-10 11:49:30 +07:00
|
|
|
networks:
|
|
|
|
authelianet:
|
|
|
|
# Set the IP to be able to query on port 8080
|
2021-04-11 03:51:00 +07:00
|
|
|
ipv4_address: 192.168.240.100
|
|
|
|
...
|