Files
haproxy-protection/docker-compose.yml

19 lines
356 B
YAML

version: "3.9"
services:
haproxy:
build:
context: ./
dockerfile: haproxy/Dockerfile
ports:
- 80:80
volumes:
- ./haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
- ./scripts/:/usr/local/etc/haproxy/scripts/
nginx:
image: "nginx:latest"
redis:
image: "redis:latest"
ports:
- 6379:6379