mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
23 lines
507 B
YAML
23 lines
507 B
YAML
version: "3.9"
|
|
services:
|
|
haproxy:
|
|
build:
|
|
context: ./
|
|
dockerfile: haproxy/Dockerfile
|
|
ports:
|
|
- 80:80
|
|
volumes:
|
|
- ./haproxy/haproxy.cfg:/etc/haproxy/haproxy.cfg
|
|
- ./src/scripts/:/etc/haproxy/scripts/
|
|
- ./src/libs/:/etc/haproxy/libs/
|
|
environment:
|
|
- HCAPTCHA_SECRET=
|
|
- HCAPTCHA_SITEKEY=
|
|
- CAPTCHA_COOKIE_SECRET=
|
|
- POW_COOKIE_SECRET=
|
|
- RAY_ID=
|
|
nginx:
|
|
image: "nginx:latest"
|
|
volumes:
|
|
- ./nginx:/usr/share/nginx/html
|