Added compose file for quick local setup
Simplified the Dockerfile Added compose docs to the README
This commit is contained in:
@@ -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:
|
||||
Reference in New Issue
Block a user