1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

add docker-file to run webapp standalone

tweak start.sh in webapp image so that it only gets the package list when there are actual packages to install

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels
2019-02-05 21:55:20 +01:00
parent 3b043334d5
commit 72846074d6
3 changed files with 52 additions and 4 deletions
+42
View File
@@ -0,0 +1,42 @@
version: "3.5"
services:
web:
image: ${docker_repo:?err}/kopano_web
container_name: web
restart: always
ports:
- "2015:2015"
- "${HTTP}:8080"
- "${HTTPS}:8443"
environment:
- EMAIL=${EMAIL}
- FQDN=${FQDN}
command: wrapper.sh
volumes:
- web:/.kweb
networks:
- web-net
kopano_webapp:
image: ${docker_repo:?err}/kopano_webapp:${WEBAPP_VERSION}
hostname: kopano_webapp
container_name: kopano_webapp
volumes:
- /etc/kopano/ssl:/kopano/ssl
- /run/kopano:/run/kopano
environment:
- TZ=${TZ}
# hostname of kopano system, leave empty for unix socket
- KCCONF_SERVERHOSTNAME=
# https port of kopano system
- KCCONF_SERVERPORT=
- ADDITIONAL_KOPANO_WEBAPP_PLUGINS=${ADDITIONAL_KOPANO_WEBAPP_PLUGINS}
networks:
- web-net
volumes:
web:
networks:
web-net: