-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1.07 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '3'
services:
instancer:
build: .
volumes:
- ./chal:/app/chal:ro
privileged: true
environment:
- PORT=8000
- SESSIONNAME=session
- DBNAME=instance.db
- TITLE=
- MINPORT=30000
- MAXPORT=31000
- VALIDITY=3m
- PREFIX=29
- SUBNETPOOL=10.200.0.0/16
- CHALDIR=chal
- BASESCHEME=http
- BASEHOST=
- CAPTCHA_SITE_KEY=
- CAPTCHA_SECRET_KEY=
# recaptcha
- CAPTCHA_SRC=https://www.google.com/recaptcha/api.js
- CAPTCHA_CLASS=g-recaptcha
- CAPTCHA_BACKEND=https://www.google.com/recaptcha/api/siteverify
- CAPTCHA_RESPONSE_NAME=g-recaptcha-response
# hcaptcha
#- CAPTCHA_SRC=https://js.hcaptcha.com/1/api.js
#- CAPTCHA_CLASS=h-captcha
#- CAPTCHA_BACKEND=https://api.hcaptcha.com/siteverify
#- CAPTCHA_RESPONSE_NAME=h-captcha-response
# disable captcha
#- CAPTCHA_SITE_KEY=
#- CAPTCHA_SECRET_KEY=
#- CAPTCHA_SRC=
#- CAPTCHA_CLASS=
#- CAPTCHA_BACKEND=
#- CAPTCHA_RESPONSE_NAME=
- CTFDURL=
- PROXYMODE=true
- NCMODE=false
ports:
- 8000:8000