This commit is contained in:
Jan Müller
2020-10-21 14:22:48 +03:00
parent 4f0084852c
commit a2d3babbc5
2 changed files with 12 additions and 14 deletions

View File

@@ -54,10 +54,8 @@ oc10 is running as a three container setup out of owncloud-server, a db containe
```
ocis_oc10_backend # rootfolder
│ README.md
│ .env
│ docker-compose.yml
│ docker-compose-local.yml
└───ocis #ocis related config files
│ │ identifier-registration.yml
@@ -142,10 +140,12 @@ clients:
insecure: yes
trusted: yes
redirect_uris:
- http://ocis.domain.com
- http://ocis.domain.com/oidc-callback.html
- http://ocis.domain.com/
- https://ocis.domain.com/
- http://ocis.domain.com/oidc-callback.html
- https://ocis.domain.com/oidc-callback.html
- http://ocis.domain.com/oidc-silent-redirect.html
- https://ocis.domain.com/oidc-silent-redirect.html
origins:
- http://ocis.domain.com
- https://ocis.domain.com

View File

@@ -62,10 +62,6 @@ Edit docker-compose.yml file to fit your domain setup
...
```
A folder for letsencypt to store the certificate needs to be created
`$ mkdir ~/letsencrypt`
This folder is bind to the docker container and the certificate is persistently stored into it.
In this example, ssl is terminated from traefik while inside of the docker network the services are comunicating via http. For this `PROXY_TLS: "false"` as environment parameter for ocis has to be set.
For ocis to work properly it's neccesary to provide one config file.
@@ -81,13 +77,15 @@ clients:
insecure: yes
trusted: yes
redirect_uris:
- http://your.domain.com
- http://your.domain.com/oidc-callback.html
- https://your.domain.com/
- https://your.domain.com/oidc-callback.html
- http://ocis.domain.com/
- https://ocis.domain.com/
- http://ocis.domain.com/oidc-callback.html
- https://ocis.domain.com/oidc-callback.html
- http://ocis.domain.com/oidc-silent-redirect.html
- https://ocis.domain.com/oidc-silent-redirect.html
origins:
- http://your.domain.com
- https://your.domain.com
- http://ocis.domain.com
- https://ocis.domain.com
```
To make it availible for ocis inside of the container, `config` hast to be mounted as volume.