aboutsummaryrefslogtreecommitdiffstats
path: root/compose.yml
blob: c00c167d7417b52ef21faea06f7728848b4b97f2 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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