added webapp
This commit is contained in:
@@ -14,10 +14,26 @@ services:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
volumes:
|
||||
- database:/var/lib/mysql
|
||||
- ./mysql/etc/mysql:/etc/mysql
|
||||
- ./mysql/etc/mysql:/etc/mysql:ro
|
||||
- ./mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
ports:
|
||||
- 3307:3306
|
||||
webapp:
|
||||
image: webapp
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/webapp`)
|
||||
- traefik.http.routers.webapp.tls=true
|
||||
- traefik.http.routers.webapp.tls.certResolver=default
|
||||
volumes:
|
||||
- ./etc-zntrl/kopano:/etc/kopano:ro
|
||||
ports:
|
||||
- 8080:80
|
||||
depends_on:
|
||||
- server
|
||||
networks:
|
||||
- default
|
||||
- traefik
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
@@ -45,23 +61,11 @@ volumes:
|
||||
# - db
|
||||
# - server
|
||||
# command: /usr/sbin/kopano-search
|
||||
# webapp:
|
||||
# image: webapp
|
||||
# labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/webapp`)
|
||||
# - traefik.http.routers.webapp.tls=true
|
||||
# - traefik.http.routers.webapp.tls.certResolver=default
|
||||
# depends_on:
|
||||
# - server
|
||||
# networks:
|
||||
# - default
|
||||
# - traefik
|
||||
# z-push:
|
||||
# image: z-push
|
||||
# labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/Active-Sync-...`)
|
||||
# - traefik.http.routers.webapp.rule=Host(`$MAIL_DOMAIN`) && PathPrefix(`/Microsoft-Server-ActiveSync`)
|
||||
# - traefik.http.routers.webapp.tls=true
|
||||
# - traefik.http.routers.webapp.tls.certResolver=default
|
||||
# volumes:
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
// define("DEFAULT_SERVER", "http://localhost:236/kopano");
|
||||
// define("DEFAULT_SERVER", "https://localhost:237/kopano");
|
||||
// define("DEFAULT_SERVER", "file:///var/run/kopano/server.sock");
|
||||
define("DEFAULT_SERVER", "default:");
|
||||
define("DEFAULT_SERVER", "http://kopano-server-1:236/kopano");
|
||||
|
||||
// When using a Single-Sign-On (SSO) system on your webserver and Kopano Core is on another server
|
||||
// you can use https to access the Kopano server, and authenticate using an SSL certificate.
|
||||
@@ -41,7 +41,7 @@
|
||||
define("COOKIE_NAME", "KOPANO_WEBAPP");
|
||||
|
||||
// Set to 'false' to disable secure session cookies and to allow log-in without HTTPS.
|
||||
define("SECURE_COOKIES", true);
|
||||
define("SECURE_COOKIES", false);
|
||||
|
||||
// Use DOMPurify to filter HTML
|
||||
// Caution: disabling DOMPurify is a potential security risk.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user