1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 16:06:14 +00:00

73 Commits

Author SHA1 Message Date
Felix Bartels
045ca52d79
fallback to a hardcoded value in case FQDNCLEANED is not set (#443)
* fallback to a hardcoded value in case FQDNCLEANED is not set
* strip ports in kweb startup script
2020-09-15 11:29:41 +02:00
Gerard de Leeuw
1d80122e51
Fix machine-id mount for spamd container (#438) 2020-09-04 08:04:15 +02:00
engelant
d6c3896b4e
Fix kapps version (#436)
* 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>
2020-09-01 11:55:10 +02:00
h44z
3d7ff97aab
Kopano spamd, Bugfixes (#17)
* 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
2020-08-24 15:24:04 +02:00
Felix Bartels
404c353ae4
build dependencies (#431) 2020-08-15 17:56:33 +02:00
Felix Bartels
f48b0e4374
Remove "missing store" script (#428)
Formatting of kopano-storeadm was changed and script no longer works

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2020-08-12 16:29:56 +02:00
Felix Bartels
2f47290a12
disable timestamps in stdout of kopano services (#427)
* disable timestamps in stdout of kopano services
* make ldap logging less verbose
* add log level option for ldap container to compose file
2020-07-31 09:58:22 +02:00
Felix Bartels
a6bd0d02b3
Make it possible to override the smtp port for Dockerize (#426)
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2020-07-24 11:51:45 +02:00
Felix Bartels
e2251036b3
add kweb config for z-push (#419)
* add kweb config for z-push
* clean out apache bits from z-push container and use kopano_php as the base
* fix commander tests for current php version
* globally define log location for php-fpm error_log
* move port in outer kweb config
* rewrite other spellings of the autodiscover url
* fix port in startup test
* force plain output to buildkit
* reorder z-push dockerfile
2020-07-21 12:48:33 +02:00
Felix Bartels
4e2060e491
Add container for kapps (which includes the new calendar) (#397)
* Add container for kapps (which includes the new calendar)
* remove calendar.yml
2020-05-26 12:10:59 +02:00
Felix Bartels
e583247a58
Make it possible to send out of office notifications (#400)
* add wrapper to specify config file for kopano-autorespond
* drop overriding definition of tmp_path
2020-05-26 12:08:20 +02:00
Felix Bartels
7b05f10206
add a switch to allow usage of specific ssl cert (#389)
* add a switch to allow usage of specific ssl cert
* add documentation how to specify own certificates and what to do when running web behind an existing proxy
2020-05-01 14:32:37 +02:00
Felix Bartels
9efed4fe80
move implicit defaults to docker-compose (#353)
Reson: some non-default configuration options are backed into the startup scripts. This can be unexpected when mounting files e.g. in a Kubernetes setup.

https://github.com/zokradonh/kopano-docker/issues/294

* core configuration
* fix compose for meet
* remove interpreter from start script
* use default oidc timeout
2020-04-09 09:39:30 +02:00
Felix Bartels
aa8d884a67 fix formatting
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2020-04-06 09:14:33 +02:00
Felix Bartels
97ebd264d6 Mount /var/lib/dbus/machine-id from /etc/machine-id
Fixes https://github.com/zokradonh/kopano-docker/issues/371

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2020-03-27 14:54:51 +01:00
Felix Bartels
c9701494f1
Make registration_conf configurable through an env (#369)
* Make registration_conf configurable through an env

Fixes https://github.com/zokradonh/kopano-docker/issues/368

Signed-off-by: Felix Bartels <felix@host-consultants.de>

* add registration_conf to meet example

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2020-03-23 16:42:11 +01:00
Felix Bartels
6cc5d12343
fix php version in kweb config (#357)
* 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
2020-03-10 15:30:03 +01:00
Felix Bartels
43928e538c
Specify config location through KOPANO_CONFIG_PATH env variable (#352)
* Specify config location through KOPANO_CONFIG_PATH env variable
* add commander test to verify config is honoured by cli programs
* remove wrappers other than kopano-cli as it cannot make use of KOPANO_CONFIG_PATH

Fixes: https://github.com/zokradonh/kopano-docker/issues/351
2020-03-05 14:35:05 +01:00
Felix Bartels
6521970f23 add note to compose file
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2020-02-25 13:35:26 +01:00
Felix Bartels
64b73be662
tweaks for Kopano Meet 2.0 (#328)
* tweaks for Kopano Meet 2.0
* remove surplus package
2020-01-27 16:08:51 +01:00
Felix Bartels
52d3e366e5
drop cap_* for kweb (#323)
explicit capabilities are not longer required since the process is now running as nobody

fixes #322

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2020-01-17 12:28:18 +01:00
Felix Bartels
3367b539b7
move external components to their own files (#319)
* 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
2020-01-15 13:26:30 +01:00
Felix Bartels
70e9940b38
Run all containers read-only (#314)
* 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
2020-01-14 14:31:53 +01:00
Felix Bartels
09ccf72180
add entry for kopano kustomerd (#301)
* add entry for kopano kustomerd
* add a volume for license files
* add kustomer to meet example
2019-12-11 10:55:42 +01:00
Felix Bartels
d7fb796fa3
split up installation for core and kapi+grapi (#293)
* split up installation for core and kapi+grapi
* add some debug output in case package installation fails
* let konnect run as nobody
* add code to check writing permissions for certificates and create certificates in container if possible
* add tests to check on failed and successful certificate creation
* add certificate creation logic from the konnect binfile
* add env for custom dockerize timeout (to fail earlier in tests)
2019-11-26 10:10:22 +01:00
Felix Bartels
ead0acfdb0
Add a per setup unique machine-id (#257)
* 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
2019-11-19 13:55:11 +01:00
Felix Bartels
d531ac4b1c
Fixes (#283)
* 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
2019-11-12 22:23:38 +01:00
Felix Bartels
5077bbd1b6
improve config options for grapi (#269)
* make it possible to configure grapi through its cfg
* add test for config setting in grapi
* add volume for persistent data
* chown and add tests for dir
2019-10-23 14:54:25 +02:00
Michael Thomas
4dac253cf2 Added automatic Z-Push shared folder registration.
Via a new environment variable containing the relevant information in a
JSON string, shared folders can be specifified which will be set using
Z-Push's $additionalFolders configuration option.
2019-10-21 13:05:36 +02:00
Felix Bartels
c49da1d5eb
Store language (#251)
* 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
2019-10-15 09:24:10 +02:00
Felix Bartels
b3c3ac669e
Switch to PERMIT_DOCKER=connected-networks (#210)
* test if https://github.com/tomav/docker-mailserver/issues/1079 is resolved
* add spooler test to commander target
2019-09-18 17:17:35 +02:00
Felix Bartels
b60176ee93
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
2019-09-18 07:30:54 +02:00
Felix Bartels
68c691acbd
Adapt Konnect Container for Univention (#236)
* precreate meet keys in ssl, but do the actual action in konnect
* generate all keys for meet within Konnect
* incorporate explicit logging and settings set by ucs app
* make konnect container more dynamic
* set default oidc_issuer_identifier
* print size of container
* builder image is not required for security scanning
* define entrypoint instead of using command
* more cleanup of testing containers
* give logs in case of error
2019-09-10 13:48:19 +02:00
Felix Bartels
4878fc9917
Use goss for healthchecks (#223)
* basic healthcheck based on goss
* add goss to travis
* healtcheck command runs now for all services
* add to makefile
2019-08-27 14:56:49 +02:00
Felix Bartels
a7f0d298ad
make it possible to redirect to another url, than /webapp (#221)
* make it possible to redirect to another url, than /webapp
* add documentation
* define default value in container
* add value to .env through setup.sh
2019-08-22 16:57:31 +02:00
Felix Bartels
87b844b10e
Add grapi-explorer (#215)
* grapi explorer is located in its own (optional) file
* update readme
* optimize eclint check
2019-08-20 21:58:54 +02:00
Felix Bartels
f7934cbc51
Make it possible to use an existing konnect instance (#195)
* make konnect url configurable
* switch to fork of dockerize as it allows to skip ssl verification
since the address of the oidc issuer is now dynamic it could point to an invalid ssl certificate (the self signed cert is by default "valid" for *)
* update hadolint
* add more scopes
* only skip ssl verification when running insecure
2019-08-20 21:16:42 +02:00
Felix Bartels
d901eb05b9
use the cleaned fqdn inside of kweb.cfg (#212)
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-08-09 09:20:29 +02:00
Felix Bartels
d4c8b57b60
Use login via oidc in Kopano WebApp by default (#203)
fixes #202

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-07-11 16:53:29 +02:00
cguentherTUChemnitz
e94dfb7fff container restart unless stopped (#199)
* add restart statements to all services except ssl
* requested change: explicit no restart on scheduler
2019-07-04 15:40:12 +02:00
Felix Bartels
6115b8aee4
Make it possible for users to customise exposed ports (#182)
* 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
2019-06-23 21:06:35 +02:00
Felix Bartels
f0cc708933
Add softdelete and backup to scheduler (#189)
* disable soft delete in kopano-server and add cron in scheduler to execute it there (fixes #187)
* fix cron example for backup
2019-06-21 07:50:48 +02:00
Felix Bartels
4d2cffbe09
Add linting for yaml files (#186)
* rename check-scripts target to lint
* install yamllint through pip on travis
* add yamllint config, do not fail on too long lines
* fix yaml linting errors
* remove circular dependency
2019-06-19 18:08:36 +02:00
Felix Bartels
e4983a96a2
don't restart scheduler when it fails to start (#188)
it could cause a restart loop when one of the cron commands fail to execute. rather let the container stop instead.
2019-06-19 17:48:54 +02:00
Felix Bartels
adfbfeb4a3
fail make target when docker wait returns with non zero output (#184)
just install python3-minimal in base
clear apt key todo
rework test-ci to fail when the test containers exits with error code != 1
2019-06-15 19:21:54 +02:00
Felix Bartels
aa2b8332dd
add data volume for webapp session data (#183)
this makes it possible for logged in users to roam between instances of kopano webapp
2019-06-15 11:48:15 +02:00
Felix Bartels
d94b7ca55d
remove surplus locale definition from images building upon base (#165)
* remove surplus locale configuration (should only be in base image)
update konnect
add version to ldap and ldap_demo images
* also create a tag for the ldap images
* add ldap version to compose file
2019-05-27 12:01:13 +02:00
Felix Bartels
e4b391be4f
add some more documentation about used ports (#161)
also add more ports to docker-compose.yml

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-05-22 12:03:56 +02:00
Felix Bartels
67219e46cc
fixup check for jq in version.sh (#158)
replace kopano-cli in scheduler container (for the moment, binary is currently missing in master)

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-05-16 22:00:28 +02:00
Felix Bartels
38d9993b68
fix yes set as timezone (#157)
* 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>
2019-05-14 15:17:32 +02:00