Components Configuration¶
Important
When reading this section, keep in mind the Architecture & Flows diagram.
Overview¶
This section describes files installed by xivocc-installer. Some of these files may be modified for these reasons:
- Components customization
- Multi-server installation
XiVO CC system configuration is stored in the /etc/docker/compose directory. All files ale configured by the xivocc-installer
and don’t need to be edited. The directory contains these files:
docker-xivocc.yml, called compose file, defines XiVO CC components and their configuration. It uses variables defined in the.envfile..envfile assigns values to variables used in the compose file. But this file is being generated by xivocc-dcomp script and should not be edited directly.factory.envfile stores XiVO CC version number and distribution and should not be edited.custom.envfile may be used for component customization and multi-server installation.
Compose File¶
docker-xivocc.yml
Sections¶
- The main headers in the compose file (without indent) are container names.
image- links to container image url on https://hub.docker.com/r/ page.ports- exposes container internal ports to host in format HOST:CONTAINER.volumes_from- mounts all of the volumes from another containerenvironment- adds environment variables into container systemextra_hosts- adds host address to /etc/hostslinks- adds another container’s host address to /etc/hosts
See detailed documentation on docker web.
Variables¶
Compose file contains more kinds of variables:
- Variable in the
environmentsection without assignment is replaced by the same variable from.envfile. If it’s not defined or assigned in the.envfile, it doesn’t appear in the container system. - Variable in the
environmentsection with assigned value overrides value defined in the.envfile. - Variable defined in the
linkssection can be assigned to variable in theenvironmentsection. - Variable inside
${ }block is replaced by value defined in.envfile and can be used anywhere.
Variables in the factory.env file¶
This file should not be edited. XiVO CC version matches version of xivocc-installer and the other distributions are only for testing purposes.
XIVOCC_TAG- XiVO CC version numberXIVOCC_DIST- XiVO CC distribution
Variables in the custom.env file¶
All variables listed below can be edited or added to this file. But variables which are assigned inside compose file must be first unassigned from there.
List of docker containers and their variables¶
- pgxivocc
POSTGRES_PASSWORD
- postgresvols
- xivo_replic
ELASTICTTLDISABLEELASTIC
- xivo_stats
- pack_reporting
WEEKS_TO_KEEP
- elasticsearch
- kibana_volumes
- fingerboard
- nginx
- spagobi
- recording_rsync
- config_mgt
- recording_server
RECORDING_WEEKS_TO_KEEP
- xuc
XIVO_AMI_SECRETXIVO_AMI_PORTXIVO_CTI_VERSIONAPI_eventUrlXIVO_DIRD_PROFILESECURED_KRB5_PRINCIPAL
- xucmgt
SHOW_RECORDING_CONTROLSSHOW_CALLBACKSSHOW_QUEUE_CONTROLSTHIRD_PARTY_URLENFORCE_MANAGER_SECURITYUSE_SSO
- timezone
- xivocclogs