TF-2953 Set up test environment for Patrol tests

Made sure only 1 test using ngrok is running at a time
This commit is contained in:
DatDang
2024-10-11 11:58:55 +07:00
committed by Dat H. Pham
parent 25437ba92e
commit 8fe9f2ece0
7 changed files with 403 additions and 12 deletions
+21
View File
@@ -0,0 +1,21 @@
version: "3"
services:
tmail-backend:
image: linagora/tmail-backend:memory-branch-master
container_name: tmail-backend
volumes:
- ./jwt_publickey:/root/conf/jwt_publickey
- ./jwt_privatekey:/root/conf/jwt_privatekey
- ./mailetcontainer.xml:/root/conf/mailetcontainer.xml
- ./imapserver.xml:/root/conf/imapserver.xml
- ./jmap.properties:/root/conf/jmap.properties
ports:
- "80:80"
environment:
- DOMAIN=example.com
networks:
- tmail
networks:
tmail: