Add changelog, add env variables

This commit is contained in:
PJ 2021-12-14 09:57:14 +01:00
parent e4f7cf4101
commit 7402383273
No known key found for this signature in database
GPG Key ID: F345964979FA8971
3 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1 @@
- Add abuse scanner service, activated by adding `c` to `PORTAL_MODULES`

2
dc
View File

@ -15,7 +15,7 @@ for i in $(seq 1 ${#PORTAL_MODULES}); do
# abuse module - alias "c"
if [[ ${PORTAL_MODULES:i-1:1} == "c" ]]; then
COMPOSE_FILES+=" -f docker-compose.abuse.yml"
COMPOSE_FILES+=" -f docker-compose.mongodb.yml -f docker-compose.blocker.yml -f docker-compose.abuse.yml"
fi
# blocker module - alias "b"

View File

@ -17,7 +17,14 @@ services:
env_file:
- .env
environment:
- BLOCKER_API_URL=blocker:4000
- ABUSE_LOG_LEVEL=${ABUSE_LOG_LEVEL}
- ABUSE_SPONSOR=${ABUSE_SPONSOR}
- BLOCKER_API_URL=${BLOCKER_API_URL}
- BLOCKER_AUTH_HEADER=${BLOCKER_AUTH_HEADER}
- EMAIL_SERVER=${EMAIL_SERVER}
- EMAIL_USERNAME=${EMAIL_USERNAME}
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
- MONGO_CONNECTIONSTRING=${MONGO_CONNECTIONSTRING}
networks:
shared:
ipv4_address: 10.10.10.110