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

Ease use of Owncloud Phoenix (#286)

* add tweak to serve phoenix from /files
* auto enable oidc
* simplify setup by adding root directly to kweb
* add some descriptions for overriding kweb configuration
* add some configuration and clean up
This commit is contained in:
Felix Bartels
2019-11-13 15:31:18 +01:00
committed by GitHub
parent df6268e24f
commit f94373903b
7 changed files with 28 additions and 4 deletions
+5 -1
View File
@@ -13,6 +13,10 @@ Example:
DEFAULTREDIRECT=/meet
```
## Serving additional files
Kweb in the Web container can easily be extended to serve static content. By default it will serve all content that has been copied into `/var/www/`. To extend the built in configuration file just add an additional file into `/etc/kweb-extras/`. Kweb is using the [Caddyfile syntax](https://caddyserver.com/v1/docs/caddyfile).
## Information needed when not running your own reverse proxy
The `kopano_webapp` container is accessible on port 9080 and serves the WebApp on `/webapp`.
The `kopano_webapp` container is accessible on port 9080 and serves the WebApp on `/webapp`.
-2
View File
@@ -1,2 +0,0 @@
staticpwa /calendar /usr/share/kopano-calendar/calendar-webapp
root /var/www/
-10
View File
@@ -1,10 +0,0 @@
version: "3.5"
services:
web:
volumes:
- ./web/kweb-calendar.cfg:/etc/kweb-extras/kweb-calendar.cfg
- ./kopano-calendar-0.20.0/:/usr/share/kopano-calendar/
- ./kopano-calendar-0.20.0/config.json.in:/var/www/api/config/v1/kopano/calendar/config.json
kopano_grapi:
environment:
- KCCONF_GRAPI_ENABLE_EXPERIMENTAL_ENDPOINTS=yes
+3
View File
@@ -19,6 +19,9 @@
body 50MB
}
# serve static content from /var/www/
root /var/www/
redir 302 {
if {path} is /
/ {%DEFAULTREDIRECT%}/