We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm setting the REDIS_PORT variable in my docker-compose to another value, for exaple 6380, but that is not working. The container is only working with the default 6379 port. According to the docs, it should be doable to use multiple mikopbx instances by changing the ports: https://docs.mikopbx.com/mikopbx/v/english/setup/docker#running-multiple-mikopbx-instances-on-one-host
Example:
environment: - PBX_NAME=pbx-bmine - PBX_FIREWALL_ENABLED=0 - PBX_FAIL2BAN_ENABLED=0 - ENABLE_USE_NAT=0 - SSH_PORT="2222" - WEB_PORT="8080" - WEB_HTTPS_PORT="9080" - SIP_PORT="5060" - TLS_PORT="5160" - RTP_PORT_FROM="10000" - RTP_PORT_TO="10999" - IAX_PORT="7000" - AMI_PORT="7100" - AJAM_PORT="8088" - AJAM_PORT_TLS="8089" - BEANSTALK_PORT="4229" - REDIS_PORT="6380" - GNATS_PORT="4223"
Error while starting container:
pbx-bmine | pbx-bmine | php.backend[7]: - Unknown environment settings key: TLS_PORT on MikoPBX\Core\System\DockerEntrypoint::updateDBSetting pbx-bmine | php.backend[7]: - Unknown environment settings key: AJAMPortTLS on MikoPBX\Core\System\DockerEntrypoint::updateDBSetting pbx-bmine | pbx-bmine | - Start acpid daemon................................................... DONE pbx-bmine | - Start beanstalkd daemon.............................................. DONE pbx-bmine | - Start redis daemon... - Wait for start 'redis-server' fail pbx-bmine | ................................................ DONE pbx-bmine | - Configuring sentry error logger ...RedisException: Connection refused in file /offload/rootfs/usr/www/src/Common/Models/PbxSettings.php on line 195 pbx-bmine | Stack trace: pbx-bmine | 1. RedisException->() /offload/rootfs/usr/www/src/Common/Models/PbxSettings.php:195 pbx-bmine | 2. Phalcon\Mvc\Model->find() /offload/rootfs/usr/www/src/Common/Models/PbxSettings.php:195 pbx-bmine | 3. MikoPBX\Common\Models\PbxSettings->getValueByKey() /offload/rootfs/usr/www/src/Core/System/Configs/SentryConf.php:46 pbx-bmine | 4. MikoPBX\Core\System\Configs\SentryConf->configure() /offload/rootfs/usr/www/src/Core/System/SystemLoader.php:154 pbx-bmine | 5. MikoPBX\Core\System\SystemLoader->startSystem() /etc/rc/bootup:33 pbx-bmine | RedisException: Connection refused in file /offload/rootfs/usr/www/src/Common/Models/PbxSettings.php on line 195 pbx-bmine | Stack trace: pbx-bmine | 1. RedisException->() /offload/rootfs/usr/www/src/Common/Models/PbxSettings.php:195 pbx-bmine | 2. Phalcon\Mvc\Model->find() /offload/rootfs/usr/www/src/Common/Models/PbxSettings.php:195 pbx-bmine | 3. MikoPBX\Common\Models\PbxSettings->getValueByKey() /offload/rootfs/usr/www/src/Core/System/Configs/SentryConf.php:46 pbx-bmine | 4. MikoPBX\Core\System\Configs\SentryConf->configure() /offload/rootfs/usr/www/src/Core/System/SystemLoader.php:154 pbx-bmine | 5. MikoPBX\Core\System\SystemLoader->startSystem() /etc/rc/bootup:33 pbx-bmine | RedisException: Connection refused in file /offload/rootfs/usr/www/src/Common/Models/PbxSettings.php on line 195 pbx-bmine | Stack trace: pbx-bmine | 1. RedisException->() /offload/rootfs/usr/www/src/Common/Models/PbxSettings.php:195 pbx-bmine | 2. Phalcon\Mvc\Model->find() /offload/rootfs/usr/www/src/Common/Models/PbxSettings.php:195 pbx-bmine | 3. MikoPBX\Common\Models\PbxSettings->getValueByKey() /offload/rootfs/usr/www/src/Core/System/Configs/SentryConf.php:46 pbx-bmine | 4. MikoPBX\Core\System\Configs\SentryConf->configure() /offload/rootfs/usr/www/src/Core/System/SystemLoader.php:154 pbx-bmine | 5. MikoPBX\Core\System\SystemLoader->startSystem() /etc/rc/bootup:33
Also the errors:
pbx-bmine | php.backend[7]: - Unknown environment settings key: TLS_PORT on MikoPBX\Core\System\DockerEntrypoint::updateDBSetting pbx-bmine | php.backend[7]: - Unknown environment settings key: AJAMPortTLS on MikoPBX\Core\System\DockerEntrypoint::updateDBSetting
popup if their ports are changed in the environments settings.
The text was updated successfully, but these errors were encountered:
You have to use integer values instead strings, like
Sorry, something went wrong.
No branches or pull requests
Hi,
I'm setting the REDIS_PORT variable in my docker-compose to another value, for exaple 6380, but that is not working. The container is only working with the default 6379 port.
According to the docs, it should be doable to use multiple mikopbx instances by changing the ports: https://docs.mikopbx.com/mikopbx/v/english/setup/docker#running-multiple-mikopbx-instances-on-one-host
Example:
Error while starting container:
Also the errors:
popup if their ports are changed in the environments settings.
The text was updated successfully, but these errors were encountered: