* fix php version in kweb config
* include webapp kweb config only in the webapp container build
* add workaround for https://jira.kopano.io/browse/KW-3398 for oidc
* json output in the healtcheck is hard to read
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* fix meet health check after moving json to /tmp
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* fix webapp health check
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* update to Debian Buster
* update webapp container
* update kdav image to buster
* add some debug commands
* use onbuild to specify building of core repository only in one place
* remove ca-certificates and git from kdav image
* git should not be needed since kdav has a builder stage
* ca-certificates is already installed in an earlier stage
* upgrade to Debian 10 for Z-Push
* switch remaining Debian 9 repos in webapp
* use a new major version for the base image
* since its now based on buster
* add new parameters to the onbuild step
* update repos in setup.sh
* switch default distribution in create repo script
* switch containers in compose file to read-only
related to https://github.com/zokradonh/kopano-docker/issues/310
* make scheduler container read-only
* make meet container read-only
* fix konnect for read-only
* make core mostly read-only
* add custom location for ldap.cfg to default config
* sort config option for readability
* update makefile pull workaround
* make kdav read-only
* remove locale generation code from core startup
* fix commander tests
* fix store language tests
* add test for a dutch mailbox
* make it possible to run webapp read-only
* add locale hint to the compose file
* finish read-only mode for z-push
* add mount for machine-id
* services should check the availability of the machine id before starting
* add a note to the readme
* add new mounts to the multiserver example
* add dockerize to kweb
* fix meet demo
* experiment with overriding exec to test bash script functions
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* refine tests
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* test installation of packages
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* make sure package list is not updated when there are not additional packages
* basic commander tests for webapp
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add webapp commander to makefile
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* basic tests for webapp
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* check webapp config.php
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add tests for z-push
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add goss healthcheck to meet
* add goss healthcheck to scheduler
* enhance goss tests for webapp
* add meet and scheduler to make target for goss
* fix healtcheck for webapp
will report 200, but also cause an error because of it being requested over plain
have dedicated url for check
* disable stats reporting in build
* update commander
* add test target for goss
split test-ci up to later add goss to it
* bring back chown of /kopano/data
* use a dedicated goss file for kopano-server
* add todo
* Double quotes not needed by docker compose
Same issue as here https://github.com/zokradonh/kopano-docker/issues/216
* move deletion of tmpfile into an exit trap
otherwise the file is not cleaned up when supported images are built
* repair sourcing of env by removing kopano ldap settings from env before sourcing
* additional packages env vars should be quoted in .env
* adapt start scripts to handle quotes additional packages
* treat update-tag script with ldap variable fix from setup.sh
fixes#216
* run version.sh in travis (to fail early if something is wrong there)
commit forgotten fixes to start scripts
* tune .editorconfig for the existing files
* fix reported linting issues
* travis: switch language to node_js to be able to run npm
* travis: build on ubuntu bionic
* update supercronic to the latest release
* update tagging for base
* fix version tag for core
* put versions for all containers into labels instead
* define vcf_ref once
* remove cache-from as caches will be invalidated early on because of passing the git ref early on
* do not rebuild when publishing
* do not rebuild when publishing
* reduce layers required for env assignment
* pull newer base images for kdav, scheduler and ssl if available
* alsp publish tag for ldap containers
* fix publishing of ssl container
this would otherwise alter other files in the image (e.g. upgrade z-push from 2.4.5 to 2.5.0). the more sustainable approach is to bake additional packages directly into the container by building an own through the makefile.
Signed-off-by: Felix Bartels <felix@host-consultants.de>
on demo systems one can now run `make build-webapp-demo` and then get a kopano_webapp container with added login hints
Signed-off-by: Felix Bartels <felix@host-consultants.de>
as they are just "newest" when using the repo and are put in the file through dl_and_package_community when not
uniquely sort file to filter out duplicates
remove workaround from makefile
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* adapt webapp container for new php base image
* clean out webapp dockerfile
* complete switch of webapp to php-fpm
* update config in web container
* update readme
* remove logging config from docker-compose.yml
* add php container to tagging and publishing
* change current config changes to use php_cfg_gen
* add remaining (for kopano relevant config files)
* add autodiscover to z-push image
* add more autodiscover aliases to kweb
fixes#114#39
* add hadolint for dockerfile linting
* add hadofile config
* add checks for dockerfiles and shellcheck into makefile
* shellcheck fixes
* add workaround so that .env can be sourced again from version.sh
* hadolint fixes
* print progress of build/run.sh
* fix check for jq in setup.sh
relates to #41 and #26
tweak start.sh in webapp image so that it only gets the package list when there are actual packages to install
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add compose to the build image
* update readme
* fine tuning for build container
* directly pass commands to run script in build env
* fix dockerfile so that everything can be build on Docker version 17.05.0-ce, build 9f07f0e-synology
* replace previous caddy construct with kopano kweb
* add kweb to makefile
* greatly simplifies setup, if user wants to tweak config of kweb he could do so in git and make a local build. Fixes#22
* ping kweb version
* update readme
* remove build argument from docker-compose for web and ldap-demo
* fix certificate handling in kweb. fixes#38
* remove z-push from webapp image
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* remove z-push from webapp start script
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add container for z-push
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* adapt version.sh for z-push
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* ci: committing changes for zpush
* tune version.sh for z-push
adapt makefile
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add z-push to setup script and docker-compose
Signed-off-by: Felix Bartels <felix@host-consultants.de>
update Dockerfiles/Makefile for use with kopano supported build
introduce a local ldap image with some demo users
include caddy for reverse proxying
add proper documentation and remove obsolete build and push scripts
Signed-off-by: Felix Bartels <felix@host-consultants.de>
add example docker-compose (for easy copy and paste)
refactor common multi stage image to base image for core and webapp
add docker version tagging
add a version to the base image as well
Signed-off-by: Felix Bartels <felix@host-consultants.de>