mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
* add a new image for konnect * add konnect to compose file * adapt gencerts for konnect certs * integrate gencerts into start.sh and adapt if to only skip individual parts * add container for kapi * use same config for webapp and z-push as https://stash.kopano.io/projects/KGOL/repos/kweb/browse/config/legacy.go * use example compose file in make test target * make compose file configurable through an env variable * remove legacy links in compose * write certificates first to a tempfile * remove unnecessary paths * add option to run kapi insecure for testing * configure openid for kopano-server * add local playground to test functionality of konnect and kapi * print errors and logs to stdout in web * add extrahosts to kopano_server * adapt extrahosts for ip command on ubuntu 18.04 * add documentation Signed-off-by: Felix Bartels <felix@host-consultants.de>
15 lines
556 B
Docker
15 lines
556 B
Docker
from alpine:3.8 as builder
|
|
RUN apk add --update \
|
|
git make \
|
|
&& rm -rf /var/cache/apk/*
|
|
RUN mkdir -p /web/oidc-playground /web/kapi-playground
|
|
RUN git clone https://stash.kopano.io/scm/~seisenmann/oidc-playground.git
|
|
RUN mv oidc-playground/www/* /web/oidc-playground
|
|
RUN git clone https://stash.kopano.io/scm/kc/kapi.git
|
|
RUN mv kapi/examples/* /web/kapi-playground
|
|
RUN cd /web/kapi-playground && rm Makefile && ln -s oidc-client-example.html index.html
|
|
|
|
from halverneus/static-file-server:v1.5.2
|
|
env PORT 8888
|
|
COPY --from=builder /web /web
|