1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 16:06:14 +00:00
h44z 4effa19d91
Fix build for official and supported releases (#15)
* 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
2020-06-08 12:17:57 +02:00
..
2020-03-10 15:30:03 +01:00
2019-10-22 15:00:31 +02:00

Kopano PHP image

Common base image for php based Kopano containers.

Configuration through environment variables

Any additional configuration should be done through environment variables and not done in the actual container. The images working with configuration files (e.g. kopano_core, kopano_webapp, kopano_meet) have a mechanism built in to translate env variables into configuration files. For services that can directly work with env variables (e.g. kopano_konnect, ´kopano_kwmserver´) these can be specified directly. Please check the individual README.md files for further instructions.

Examples of env variables:

KCCONF_WEBAPP_CLIENT_TIMEOUT=3600
^      ^      ^              ^
|      |      |              |
General prefix|              |
       |      |              |
       Special value to signal the change should go into config.php belonging to WebApp
              |              |
              Name of the configuration option in the configuration file
                             |
                             Value of the configuration option

KCCONF_WEBAPPPLUGIN_MDM_PLUGIN_MDM_USER_DEFAULT_ENABLE_MDM=true
^      ^            ^   ^                                  ^
|      |            |   |                                  |
General prefix      |   |                                  | 
       |            |   |                                  |
       Special value to signal the change should go into config-$identifier.php (located in /etc/kopano/webapp)
                    |   |                                  |
                    Identifier for the configuration file (config-$identifier.php)
                    |                                      |
                    Name of the configuration option in the configuration file
                                                           |
                                                           Value of the configuration option