This repository was archived by the owner on Nov 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (53 loc) · 2.46 KB
/
docker-compose.yml
File metadata and controls
54 lines (53 loc) · 2.46 KB
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
48
49
50
51
52
53
54
version: "2"
services:
protection_proxy:
restart: unless-stopped
image: casestudyintrusiondetection/protective_reverse_proxy:latest
container_name: protection_proxy
#volumes:
#- ./my-ssl.key:/etc/ssl/private/self_sslkey.pem:ro
#- ./my-ssl.pem:/etc/ssl/certs/self_sslcert.pem:ro
#- ./models/RealModels:/protection/model/:ro
#- ./proxy/logs:/proxy/logs
environment:
- BLOCK_CRAWLING=true # true,false
- BLOCK_TYPES= # one or multiple separated by ',' of: sql,xss,tampering,execution,disclosure,overflows,encryption,cve,redirect
- ALLOW_TYPES= # one or multiple separated by ',' of: sql,xss,tampering,execution,disclosure,overflows,encryption,cve,redirect
- APPROACH_USE=lda,nn # lda or nn or lda,nn
- APPROACH_CONNECTOR=or # and,or
- MAIL_HOST= # hostname of a mailserver (smtp)
- MAIL_PORT=587 # START TLS port of the server
- MAIL_USERNAME= # username to access the server
- MAIL_PASSWORD= # passwort to access server
- MAIL_FROM= # sender of the emails
- MAIL_TO= # receiver of the emails
- SEND_DAILY_REPORT=false # true,false
- SEND_EMERGENCY=false # true,false
- ALLOW_AFTER_CAPTCHA=false # true,false
- LOG_REQUESTS=none # all,attack,none
ports:
- "80:80"
- "443:443"
system_to_protect:
container_name: system_to_protect
restart: unless-stopped
image: kimbtechnologies/kimb_forms_project:latest
environment:
- CONF_site_hosturl=
- CONF_site_pagename=KIMB-Forms-Project
- CONF_site_footercontent=Dummy to protect
- CONF_captcha_poll=false
- CONF_captcha_new=false
- CONF_texts_enablePoll=false
- CONF_texts_enableNew=true
- CONF_texts_textPoll=Ich bin mit den Datenschutzrichtlinien ... einverstanden!
- CONF_texts_textNew=Ich bin mit den AGB des Anbieters einverstanden!
- CONF_cookiebanner=false
- CONF_newpollmailto=test@example.com # admin mail, get mail when a poll is created
- CONF_submissions_enabled=false # query for poll submissions by mail
- CONF_submissions_captcha=true # query needs captcha
- CONF_submissions_mailValidate=^\S+@\S+\.\S+$$ # query mail address validation
- SMTP_SERVER= # the mail server host (used for admin notification mails)
- SMTP_PORT= # the port to deliver mails (587 for starttls or 465 for tls)
- SMTP_USER= # the username for the mail server
- SMTP_PASS= # the password for the mail server