Added compose file for quick local setup

Simplified the Dockerfile
Added compose docs to the README
This commit is contained in:
Nguyen Thai
2022-11-18 12:34:34 +07:00
committed by Dat H. Pham
parent fb14e79441
commit 7fb0781980
4 changed files with 60 additions and 21 deletions
+28
View File
@@ -0,0 +1,28 @@
version: "3"
services:
tmail-frontend:
image: linagora/tmail-web:master
container_name: tmail-frontend
ports:
- "8080:80"
volumes:
- ./env.file:/usr/share/nginx/html/assets/env.file
networks:
- tmail
depends_on:
- tmail-backend
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
ports:
- "80:80"
networks:
- tmail
networks:
tmail: