You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
755 B
30 lines
755 B
version: "3.9"
|
|
services:
|
|
# tor:
|
|
# build:
|
|
# context: ./
|
|
# dockerfile: tor/Dockerfile
|
|
haproxy:
|
|
build:
|
|
context: ./
|
|
dockerfile: haproxy/Dockerfile
|
|
ports:
|
|
- 80:80
|
|
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=
|
|
- BUCKET_DURATION=43200
|
|
nginx:
|
|
image: "nginx:latest"
|
|
volumes:
|
|
- ./nginx:/usr/share/nginx/html
|
|
|