aboutsummaryrefslogtreecommitdiffstats
version: '3'

networks:
  backend:

services:
  web:
    image: acit
    command: acit-web
    ports: 8080:8080
    environment:
      - ACIT_IMAP_USER=bugs@example.com
      - ACIT_IMAP_PASS=SuperSecurePassword
      - ACIT_IMAP_SERVER=mail.example.com
      - ACIT_IMAP_PORT=993
      - ACIT_IMAP_POOL_SIZE=4

      - ACIT_SMTP_USER=bugs@example.com
      - ACIT_SMTP_PASS=SuperSecurePassword
      - ACIT_SMTP_SERVER="mail.example.com"
      - ACIT_SMTP_PORT=0

      - MYSQL_USER=acit
      - MYSQL_PASSWORD=AnotherSecurePassword
      - MYSQL_DATABASE=acit
      - MYSQL_HOST=localhost

      - ACIT_MAIL_NAME=bugs
      - ACIT_MAIL_DOMAIN=example.com
      #- ACIT_MAIL_USES_ALIASES=true # uncomment to enable
      - ACIT_HOME_REDIRECT=about:blank
      - ACIT_BEHIND_PROXY=true

    volumes:
      - ./acit-list-trackers:/usr/lib/acit-list-trackers
    networks:
      - backend
    depends_on:
      - database

  database:
    image: yobasystems/alpine-mariadb
    volumes:
      - ./database:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=supersecurepassword
      - MYSQL_USER=acit
      - MYSQL_PASSWORD=AnotherSecurePassword
      - MYSQL_DATABASE=acit
    networks:
      - backend