1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-22 22:03:03 +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
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
echo "Configuring OIDC for kopano-docker"
set -x
occ app:enable openidconnect
true
+9 -1
View File
@@ -1,8 +1,16 @@
# This is for the moment only for testing purposes. Starts owncloud with the phoenix ui (available from /files) and the owncloud openid component (not yet public).
# Both parts need to be extracted into the owncloud directory
# TODO when this is final, these parts should be part of the owncloud docker image (maybe just need to be enabled as apps)
version: "3.5"
services:
owncloud:
volumes:
- ./owncloud/99-oidc.sh:/etc/owncloud.d/99-oidc.sh
- ./owncloud/openidconnect/:/mnt/data/apps/openidconnect/
- ./owncloud/phoenix/:/mnt/data/apps/phoenix/
- ./owncloud/konnectd.config.php:/mnt/data/config/konnectd.config.php
- ./owncloud/phoenix/:/mnt/data/apps/phoenix/
- ./owncloud/config.json:/mnt/data/apps/phoenix/config.json
web:
volumes:
- ./owncloud/phoenix/:/var/www/files/
- ./owncloud/config.json:/var/www/files/config.json