aboutsummaryrefslogtreecommitdiffstats
path: root/compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'compose.yml')
-rw-r--r--compose.yml54
1 files changed, 54 insertions, 0 deletions
diff --git a/compose.yml b/compose.yml
new file mode 100644
index 0000000..95fa6d0
--- /dev/null
+++ b/compose.yml
@@ -0,0 +1,54 @@
+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
+
+ 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
+
+
+
+