1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-23 15:56:37 +00:00

398 Commits

Author SHA1 Message Date
Felix Bartels
a06a495c1d
intruct curl to follow redirects (#259)
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-10-16 14:18:32 +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
cd74f245f1 fix linting error introduced by #256
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-10-14 11:34:47 +02:00
Felix Bartels
37f3ee0720
Make repo script more dynamic #232
* also add the ability to download the tar for supported releases
* use env variables for distribution, channel and branch
* add tests for new archive download for supported releases
2019-10-14 11:19:07 +02:00
Felix Bartels
9b5187d2e4
implement more fine grained version tagging (#256) 2019-10-11 18:20:25 +02:00
Felix Bartels
b840e66418
Add hints about Docker caching (#255)
* tweaking for docker caching
* tweaks to contributing
2019-10-09 19:46:54 +02:00
Felix Bartels
bf114ecd51
Create CONTRIBUTING.md 2019-10-09 16:49:36 +02:00
Felix Bartels
80a3b2a563
experiment with overriding exec to test bash script functions (#254)
* 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>
2019-10-08 23:00:36 +02:00
Felix Bartels
dca6e0c87b
Some tweaks to owncloud readme 2019-10-08 13:23:57 +02:00
Felix Bartels
a33458bd15
Remove printing of image size (does not work on Travis) (#252)
* move repo definition outside of ifndef
2019-10-07 15:45:24 +02:00
Felix Bartels
1de183766d
replace hexdump (#250) 2019-10-05 22:56:12 +02:00
Felix Bartels
4ae6af33fb
Enhance description with relation between containers (#243)
* add container structure as architecture document and link to it from the readme
* have separate architecture description for Meet
2019-10-04 15:28:28 +02:00
Felix Bartels
e482ed4cf5 add question issue template
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-10-03 00:31:30 +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
c50f952456
Create pull_request_template.md 2019-09-16 11:08:03 +02:00
Felix Bartels
2ba3363c42 Update issue templates 2019-09-16 11:01:42 +02:00
Felix Bartels
b273c87cb3
More tests (#240)
* 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
2019-09-15 18:01:09 +02:00
Felix Bartels
00b15becfd wording in readme
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-09-12 13:54:48 +02:00
Felix Bartels
ab35522da5
Further improve commander test cases (#233)
* add a more detailed example based on https://github.com/SimonBaeumer/commander/pull/82
include test for '!include /usr/share/kopano/ldap.openldap.cfg'?
* add readme on testing
* add goss wait files for dagent and spooler
2019-09-12 13:26:05 +02:00
Felix Bartels
c057337097
Update Kweb, Konnect and Kwmserver to latest version (#239) 2019-09-11 13:20:39 +02:00
Felix Bartels
8026092ecb
Update setup.sh 2019-09-10 22:16:55 +02:00
Felix Bartels
1a16f9822e
make search start again (#238)
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-09-10 15:22:16 +02:00
Felix Bartels
a1d1de9767
add example to run owncloud along with Kopano (#211)
* add example to run owncloud along with Kopano
* move ownloud files into dedicated folder
* add readme
* add script for ldap auto configuration
2019-09-10 14:04:37 +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
f6074c65b1
Fix Docker syntax for proper display on Github 2019-09-10 11:33:45 +02:00
Felix Bartels
8b7b5efd28 example tuning
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-09-06 13:26:59 +02:00
Felix Bartels
8135321201
Add example compose file to run Meet without Kopano (#217)
* 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
2019-09-06 13:19:13 +02:00
Felix Bartels
da43a5abbf
define exit trap after checking for reg (#235)
otherwise script would print an undefined variable for tmpfile

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-09-06 13:10:03 +02:00
Felix Bartels
1d3093680d remove "secure" variables
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-09-06 11:17:12 +02:00
Felix Bartels
7717fcf344 add functionality to detect the grapi version
this allows running the same dockerfile with both master and final branches of Kopano Groupware Core

Signed-off-by: Felix Bartels <felix@host-consultants.de>
(cherry picked from commit a40db475f92eb9908348871ccd4b40f24161de66)
2019-09-02 12:49:13 +02:00
RobinvG
0a7eb73e69 Add variables to change names of the other docker container (#231)
* Add variables to change names of the other docker container
	modified:   Dockerfile
	modified:   kweb.cfg
* fix default values for konnect and kapi
add inline comment
2019-08-31 20:23:39 +02:00
Felix Bartels
de66536525
Fix version detection in version.sh and add testing for it (#225)
* 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
2019-08-30 18:22:36 +02:00
Felix Bartels
237b09b449
Meet quoting again (#230)
some values need explicit quoting
2019-08-29 17:15:37 +02:00
Felix Bartels
7fdb48a773 empty lines
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-08-29 16:33:11 +02:00
Felix Bartels
663b9a2e5f ci: committing changes for meet 2019-08-29 16:04:39 +02:00
Felix Bartels
4ddb0c6da7
Fix quoting of meet settings (#229)
* add on the fly debugging to meet container
* fix quoting of settings

fixes #228
2019-08-29 14:15:05 +02:00
bjoernneumann
db63ee39cb core-start-service: make the grapi ldap-backend usable (#227)
* core-start-service: make the grapi ldap-backend usable
* fix startup script for kopano grapi backend
2019-08-29 12:47:21 +02:00
Felix Bartels
1c4b520b53
also log errors for port 80 2019-08-29 10:48:02 +02:00
Felix Bartels
26c45ce1db
cut quotes from additional package var earlier on (#224)
* cut quotes from additional package var earlier on
* add easy debugging switch to script and predefine env var in base image
2019-08-28 20:49:31 +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
d6744b20e2
Add test implementation of goss (#222)
* 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
2019-08-24 15:40:56 +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
zokradonh
b0236bf0d8 Cure some quoting issues
* 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
2019-08-22 09:21:10 +02:00
Felix Bartels
b8885da14e
remove chown step in service startup (#219)
change is not neccesary and is blocking startup on kubernetes

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-08-22 08:34:08 +02:00
Felix Bartels
88409f5f37
Update grapi-explorer.yml 2019-08-21 16:09:39 +02:00
Felix Bartels
8e94353544
Update README.md 2019-08-21 08:46:22 +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
ae7f679be2
remove obsolete (and wrong) "starting apache" line (#214)
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-08-13 07:38:54 +02:00