34 lines
792 B
YAML
34 lines
792 B
YAML
version: "3.7"
|
|
|
|
x-logging: &default-logging
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
services:
|
|
abuse:
|
|
build:
|
|
context: ./docker/abuse
|
|
dockerfile: Dockerfile
|
|
container_name: abuse
|
|
restart: unless-stopped
|
|
logging: *default-logging
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- 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
|
|
depends_on:
|
|
- mongo
|
|
- blocker
|