added build & push
This commit is contained in:
@@ -2,18 +2,27 @@
|
||||
services:
|
||||
server:
|
||||
build: ./core
|
||||
image: core
|
||||
image: baloan/core
|
||||
depends_on:
|
||||
- mysql
|
||||
ports:
|
||||
- 236:236
|
||||
volumes:
|
||||
- attachments:/var/lib/kopano/attachments
|
||||
- ./etc-zntrl/kopano:/etc/kopano:ro
|
||||
- attachments:/var/lib/kopano/attachments
|
||||
command: /usr/sbin/kopano-server
|
||||
search:
|
||||
build: ./core
|
||||
image: baloan/core
|
||||
depends_on:
|
||||
- server
|
||||
volumes:
|
||||
- ./etc-zntrl/kopano:/etc/kopano:ro
|
||||
- search:/var/lib/kopano/search
|
||||
command: /usr/sbin/kopano-search
|
||||
spooler:
|
||||
build: ./core
|
||||
image: core
|
||||
image: baloan/core
|
||||
depends_on:
|
||||
- server
|
||||
volumes:
|
||||
@@ -21,7 +30,7 @@ services:
|
||||
command: /usr/sbin/kopano-spooler
|
||||
dagent:
|
||||
build: ./core
|
||||
image: core
|
||||
image: baloan/core
|
||||
volumes:
|
||||
- ./etc-zntrl/kopano:/etc/kopano:ro
|
||||
depends_on:
|
||||
@@ -39,7 +48,7 @@ services:
|
||||
- 3307:3306
|
||||
webapp:
|
||||
build: ./webapp
|
||||
image: webapp
|
||||
image: baloan/webapp
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/webapp`)
|
||||
@@ -56,7 +65,7 @@ services:
|
||||
- traefik
|
||||
z-push:
|
||||
build: ./z-push
|
||||
image: z-push
|
||||
image: baloan/z-push
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/Microsoft-Server-ActiveSync`)
|
||||
@@ -74,7 +83,7 @@ services:
|
||||
- traefik
|
||||
postfix:
|
||||
build: ./postfix
|
||||
image: postfix
|
||||
image: baloan/postfix
|
||||
ports:
|
||||
- 8025:25
|
||||
volumes:
|
||||
@@ -86,12 +95,7 @@ networks:
|
||||
volumes:
|
||||
database:
|
||||
attachments:
|
||||
search:
|
||||
z-push:
|
||||
spool:
|
||||
|
||||
# search:
|
||||
# image: core
|
||||
# depends_on:
|
||||
# - db
|
||||
# - server
|
||||
# command: /usr/sbin/kopano-search
|
||||
|
||||
Reference in New Issue
Block a user