mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-22 05:42:54 +00:00
move optional containers into their own compose files (#246)
* move playground into its own compose file fixes #245 * move ldap-admin and ssp into their own directories fixes #244 * remove command for konnect from meet example
This commit is contained in:
+13
-4
@@ -1,9 +1,18 @@
|
||||
# Kopano Playground image
|
||||
# Kopano Kapi Playground and OIDC Playground image
|
||||
|
||||
[](https://microbadger.com/images/zokradonh/kopano_playground "Microbadger size/labels") [](https://microbadger.com/images/zokradonh/kopano_playground "Microbadger version")
|
||||
|
||||
Example applications to test Konnect and Kapi.
|
||||
This project includes a Docker container to easily inspect the data returned by the Kopano Rest API (Kapi), as well as the OpenID (Connect) Service Provider.
|
||||
|
||||
## What are and how can I use the Kapi Playground and OIDC Playground?
|
||||
## How to use the Kopano Playground?
|
||||
|
||||
This project includes a Docker container to easily inspect the data returned by the Kopano Rest API (KAPI), as well as the OpenID (Connect) Service Provider. To explore these applications you need to pass the URL of the "Issuer" when opening these. For the Kapi Playground this would for example be `https://kopano.demo/kapi-playground/?iss=https://kopano.demo`. For the OIDC Playground it would be `https://kopano.demo/oidc-playground/?discovery_uri=https://kopano.demo/.well-known/openid-configuration&discovery=auto`.
|
||||
1. Add the `playground.yml` to the `COMPOSE_FILE` variable in your `.env` file.
|
||||
|
||||
Example:
|
||||
```
|
||||
COMPOSE_FILE=docker-compose.yml:docker-compose.ports.yml:playground/playground.yml
|
||||
```
|
||||
|
||||
2. Run `docker-compose up -d`.
|
||||
|
||||
To explore these applications you need to pass the URL of the "Issuer" when opening these. For the Kapi Playground this would for example be `https://kopano.demo/kapi-playground/?iss=https://kopano.demo`. For the OIDC Playground it would be `https://kopano.demo/oidc-playground/?discovery_uri=https://kopano.demo/.well-known/openid-configuration&discovery=auto`.
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
version: "3.5"
|
||||
|
||||
services:
|
||||
kopano_playground:
|
||||
image: ${docker_repo:-zokradonh}/kopano_playground
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- kopano_kapi
|
||||
- kopano_konnect
|
||||
networks:
|
||||
- kopano-net
|
||||
- web-net
|
||||
Reference in New Issue
Block a user