* Added KAPPS_VERSION
The KAPPS_VERSION didin't match the CORE_VERSION execept for latest.
A new KAAPS_VERSION var in the .env, which defaults to latest, will fix this.
Co-authored-by: Anton Engelhardt <anton@neednow.de>
Co-authored-by: Felix Bartels <1257835+fbartels@users.noreply.github.com>
* Add container for kopano-spamd
* Authenticate version requests if needed
* Fix building of z-push for 'supported' base image
* Install kopano-spamd package by default
* Smaller fixes for kopano-spamd
* Fix missing file header
* simplify netrc usage
* Tweaks to allow building supported releases while also including Kapps
* switch files to pre-final
* define default for kapps repo
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* Fix build for official and supported releases
* Fix config generation: skip missing config files
* kopano-search ignores KOPANO_CONFIG_PATH env var
* Use kopano core 8.7 by default
* Include APT release key in this repo
* Copy APT release key into image
* sort .gitignore and add apt_auth.conf to it
* add helper to setup.sh to create apt_auth.conf (user still needs to enter their own credentials)
* only create apt_auth.conf in make if it doesn't already exist
* add tooling to core dockerfile and makefile to use build secrets
* add ignore for hadolint as mounting syntax is currently not supported so far
* update to latest docker on travis for buildkit support
* documentation
* sort gitignore
* add dockerfile syntax definition for build args
* 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
* move ldap to its own file
* add separate files for db and mail as well
* add new compose file to the default compose_file variable
* enhance setup.sh to add these new compose files if they are currently missing
* make readme of owncloud more clear
* clarify setup.sh
* make user23 an admin by default
* remove hard depenency on reg
* add completed message
* set more attributes on startup
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* use cn instead of uid
* add config for owncloud phoenix ui and openid plugin
* add override for experimental feature endpoint
* import kweb-calendar.cfg
* experimental endpoint is yes/no
* grapi also needs the ability to run insecure
* grapi needs to resolve the domain, therefore needs to be in the web network
* clean out unneeded locales
* add test to verify that language is picked up in admin.cfg
* add basic question for language and use variable in compose
* use scriptlet to generate locales before start of kopano-server
* add script to check folders of a given mailbox (for language checks)
* add tests for locale generation
relates to #248
* Add example compose file to run Meet without Kopano
* add readme
* add an example env file
* add setup.sh so user can easily create their own
* use kopano repo by default
* fix version syntax
* commander: verify output of version.sh
* commander: exit setup.sh with code 1 when .env exists
* add commander to travis
* minimal test for commander in core container
* make it possible to redirect to another url, than /webapp
* add documentation
* define default value in container
* add value to .env through setup.sh
* 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
* Update kweb to latest release
the fqdn needs to be part of kweb.cfg
make port 2015 explicit
fixes#208
* testing improvements
add git to build container
improve ci testing
add kopano-ical ports to setup
* no longer run kweb as root
now possible because of fd5c7307db
may require to manually delete the kopano_web data volume since kweb user cannot read data from root user.
* move portmapping into docker-compose.ports.yml
Ensure loading of docker-compose.ports.yml via COMPOSE_FILE in .env.
* instruct users to put overridden ports into override.yml
* replace bash function to list docker tags with https://github.com/genuinetools/reg/
* this depends on new release in https://github.com/genuinetools/reg/issues/186 to fully function
* update docker version
* fix version.sh to also show versions from repos defined in .env
* add script to list available tags and update values in .env
* define default values for all version vars
* add previously missing containers
* use command instead of hash in update env script
* use a custom select function instead shell builtin (since it does not handle default values)
* add setup-update-tag in test.exp
* fix yes set as timezone
value_default would not be empty but rather have yes as the value
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* also add version control for ssl and kweb
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* have a separate ldap container for demo data
* add question to setup.sh about demo users
* make ldap container switchable
* piggyback small fixup for search failing when starting directly after kopano-server
fixes#53
* add scheduler container for gabsync
Adds a general scheduler container to trigger tasks within containers.
Also adds gabsync to zpush image
* make scheduler dynamic
execute each cron job once at startup to see if they would succeed
* remove services scripts from core container (now is part of the scheduler)
* add "CRONDELAY" for tasks that should not be executed at startup
* add documentation
* clear out crontab at startup
* Prefix container names with COMPOSE_PROJECT_NAME.
This way it is easily possible to use several instances of this service stack on one host via different .env-files (e.g. for staging/production).
Volumes and networks are separated in this manner by docker-compose anyway, now the containers are too.
* Use underscore in container-names for consistency with networks and volumes.
* Remove "kopano" from container names.
This avoids repetition in the names when using the default project name which also "kopano".
* Make Caddy default port configurable.
* 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
* add a kdav image
* do not install composer into the docker image
instead use a multi stage build that copies the resulting directory into the final image
* set default version in compose
resolves#54
* refactor ssl generation
make ssl certificate names match container names
add dns names to certificates
* add example to run meet and its dependencies together with an existing kopano
* update webapp example
* remove port numbers from ssl cert
as these could have been specified in a demo environment
* set default values for HTTP, HTTPS and EMAIL
fail if FQDN is unset
make smtp and kopano-server ports configurable
* add hint about 2015 to setup.sh
* also add new defaults to webapp compose
* add example for standalone core as well
Makefile adjustments
reorder Makefile
adds image for kwmserver
adds image for meet
add Meet to compose
clean up proxy configuration
move kcconf.py into the base image
* 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>