version: "3.8" x-logging: &default-logging driver: json-file options: max-size: "10m" max-file: "3" services: abuse-scanner: # uncomment "build" and comment out "image" to build from sources # build: https://github.com/SkynetLabs/abuse-scanner.git#main image: skynetlabs/abuse-scanner:0.4.0 container_name: abuse-scanner restart: unless-stopped logging: *default-logging env_file: - .env environment: - ABUSE_LOG_LEVEL=${ABUSE_LOG_LEVEL} - ABUSE_MAILADDRESS=${ABUSE_MAILADDRESS} - ABUSE_MAILBOX=${ABUSE_MAILBOX} - ABUSE_SPONSOR=${ABUSE_SPONSOR} - BLOCKER_HOST=10.10.10.110 - BLOCKER_PORT=4000 - EMAIL_SERVER=${EMAIL_SERVER} - EMAIL_USERNAME=${EMAIL_USERNAME} - EMAIL_PASSWORD=${EMAIL_PASSWORD} - SKYNET_DB_HOST=${SKYNET_DB_HOST} - SKYNET_DB_PORT=${SKYNET_DB_PORT} - SKYNET_DB_USER=${SKYNET_DB_USER} - SKYNET_DB_PASS=${SKYNET_DB_PASS} networks: shared: ipv4_address: 10.10.10.120 depends_on: - mongo - blocker volumes: - /var/run/docker.sock:/var/run/docker.sock - /tmp:/tmp