2022-08-11 21:13:03 +00:00
|
|
|
version: "3.8"
|
2021-12-13 09:42:46 +00:00
|
|
|
|
|
|
|
x-logging: &default-logging
|
|
|
|
driver: json-file
|
|
|
|
options:
|
|
|
|
max-size: "10m"
|
|
|
|
max-file: "3"
|
|
|
|
|
|
|
|
services:
|
2022-02-24 12:16:30 +00:00
|
|
|
abuse-scanner:
|
2022-03-24 12:37:14 +00:00
|
|
|
# uncomment "build" and comment out "image" to build from sources
|
|
|
|
# build: https://github.com/SkynetLabs/abuse-scanner.git#main
|
2022-09-01 12:58:21 +00:00
|
|
|
image: skynetlabs/abuse-scanner:0.4.0
|
2022-02-24 12:16:30 +00:00
|
|
|
container_name: abuse-scanner
|
2021-12-13 09:42:46 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
logging: *default-logging
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
environment:
|
2021-12-14 08:57:14 +00:00
|
|
|
- ABUSE_LOG_LEVEL=${ABUSE_LOG_LEVEL}
|
2021-12-20 15:43:56 +00:00
|
|
|
- ABUSE_MAILADDRESS=${ABUSE_MAILADDRESS}
|
2021-12-15 19:04:29 +00:00
|
|
|
- ABUSE_MAILBOX=${ABUSE_MAILBOX}
|
2021-12-14 08:57:14 +00:00
|
|
|
- ABUSE_SPONSOR=${ABUSE_SPONSOR}
|
2022-01-20 11:57:23 +00:00
|
|
|
- BLOCKER_HOST=10.10.10.110
|
|
|
|
- BLOCKER_PORT=4000
|
2021-12-14 08:57:14 +00:00
|
|
|
- EMAIL_SERVER=${EMAIL_SERVER}
|
|
|
|
- EMAIL_USERNAME=${EMAIL_USERNAME}
|
|
|
|
- EMAIL_PASSWORD=${EMAIL_PASSWORD}
|
2021-12-20 12:15:28 +00:00
|
|
|
- SKYNET_DB_HOST=${SKYNET_DB_HOST}
|
|
|
|
- SKYNET_DB_PORT=${SKYNET_DB_PORT}
|
|
|
|
- SKYNET_DB_USER=${SKYNET_DB_USER}
|
|
|
|
- SKYNET_DB_PASS=${SKYNET_DB_PASS}
|
2021-12-13 09:42:46 +00:00
|
|
|
networks:
|
|
|
|
shared:
|
2021-12-20 12:15:28 +00:00
|
|
|
ipv4_address: 10.10.10.120
|
2021-12-13 09:42:46 +00:00
|
|
|
depends_on:
|
|
|
|
- mongo
|
|
|
|
- blocker
|
2022-07-27 14:06:37 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2022-09-01 10:54:03 +00:00
|
|
|
- /tmp:/tmp
|