Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
X
xivo-solutions-doc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xivo.solutions
xivo-solutions-doc
Commits
fe513532
Commit
fe513532
authored
Jun 29, 2017
by
Vojtech Sodoma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1057 documentation for xivocc
parent
c1112730
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
151 additions
and
0 deletions
+151
-0
source/xivocc/install_and_config/components_configuration/components_configuration.rst
...fig/components_configuration/components_configuration.rst
+141
-0
source/xivocc/install_and_config/components_configuration/index.rst
...occ/install_and_config/components_configuration/index.rst
+9
-0
source/xivocc/install_and_config/index.rst
source/xivocc/install_and_config/index.rst
+1
-0
No files found.
source/xivocc/install_and_config/components_configuration/components_configuration.rst
0 → 100644
View file @
fe513532
.. _components_configuration:
************************
Components Configuration
************************
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 ``.env`` file.
* ``.env`` file 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.env`` file stores XiVO CC version number and distribution and **should not be edited**.
* ``custom.env`` file may be used for component customization and multi-server installation settings.
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 container
* ``environment`` - adds environment variables into container system
* ``extra_hosts`` - adds host address to /etc/hosts
* ``links`` - adds another container's host address to /etc/hosts
See detailed documentation on `docker web <https://docs.docker.com/compose/compose-file/compose-file-v1/>`_.
Variables
=========
Compose file contains more kinds of variables:
* Variable in the ``environment`` section without assignment is replaced by the same variable from ``.env`` file.
If it's not defined or assigned in the ``.env`` file, it doesn't appear in the container system.
* Variable in the ``environment`` section with assigned value overrides value defined in the ``.env`` file.
* Variable defined in the ``links`` section can be assigned to variable in the ``environment`` section.
* Variable inside ``${ }`` block is replaced by value defined in ``.env`` file 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 number
* ``XIVOCC_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 variables shared across containers
------------------------------------------
Main component addresses and ports:
* ``XIVO_HOST``
* ``XUC_HOST``
* ``XUC_PORT``
Customizable addresses and ports for multi-server installation:
* ``CONFIG_MGT_HOST``
* ``CONFIG_MGT_PORT``
* ``RECORDING_SERVER_HOST``
* ``RECORDING_SERVER_PORT``
Other:
* ``JAVA_OPTS`` - allocates Java memory and sets other Java options. If you want to use different values for containers,
they must be assigned inside compose file. You can define new variable for this purpose - e.g.: ``JAVA_OPTS=JAVA_OPTS_XUC``
and set the value in the custom.env file.
.. _list_of_containers:
List of docker containers and their variables
---------------------------------------------
* pgxivocc
- ``POSTGRES_PASSWORD``
* postgresvols
* xivo_replic
- ``ELASTICTTL``
- ``DISABLEELASTIC``
* 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_SECRET``
- ``XIVO_AMI_PORT``
- ``XIVO_CTI_VERSION``
- ``API_eventUrl``
- ``XIVO_DIRD_PROFILE``
- ``SECURED_KRB5_PRINCIPAL``
* xucmgt
- ``SHOW_RECORDING_CONTROLS``
- ``SHOW_CALLBACKS``
- ``SHOW_QUEUE_CONTROLS``
- ``THIRD_PARTY_URL``
- ``ENFORCE_MANAGER_SECURITY``
- ``USE_SSO``
* timezone
* xivocclogs
source/xivocc/install_and_config/components_configuration/index.rst
0 → 100644
View file @
fe513532
########################
Components Configuration
########################
.. toctree::
:maxdepth: 2
components_configuration
source/xivocc/install_and_config/index.rst
View file @
fe513532
...
...
@@ -10,6 +10,7 @@ install these components on a single machine.
:maxdepth: 2
installation/index
components_configuration/index
upgrade/index
pack_reporting/index
phone_integration/index
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment