mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
28 lines
700 B
YAML
28 lines
700 B
YAML
version: "3.9"
|
|
services:
|
|
# tor:
|
|
# build:
|
|
# context: ./
|
|
# dockerfile: tor/Dockerfile
|
|
haproxy:
|
|
build:
|
|
context: ./
|
|
dockerfile: haproxy/Dockerfile
|
|
volumes:
|
|
- ./haproxy/haproxy.cfg:/etc/haproxy/haproxy.cfg
|
|
- ./haproxy/ddos.map:/etc/haproxy/ddos.map
|
|
- ./haproxy/no_captcha.map:/etc/haproxy/no_captcha.map
|
|
- ./src/scripts/:/etc/haproxy/scripts/
|
|
- ./src/libs/:/etc/haproxy/libs/
|
|
- ./haproxy/js/:/var/www/js/
|
|
environment:
|
|
- HCAPTCHA_SECRET=
|
|
- HCAPTCHA_SITEKEY=
|
|
- CAPTCHA_COOKIE_SECRET=
|
|
- POW_COOKIE_SECRET=
|
|
- RAY_ID=
|
|
nginx:
|
|
image: "nginx:latest"
|
|
volumes:
|
|
- ./nginx:/usr/share/nginx/html
|