Code Monkey home page Code Monkey logo

liveagent-docker's People

Contributors

epetras avatar lubo avatar mbebjak avatar msvihra avatar

Watchers

 avatar  avatar  avatar  avatar

liveagent-docker's Issues

Update MariaDB version in Docker

MariaDB used in docker-1_host is using old and unmaintained version - 10.1. This should be updated to stable and tested version - 10.4.

Logging of PHP-FPM workers

We are currently using catch_workers_output set to no and we are missing some exceptions.
We should use catch_workers_output set to yes to log all possible problems.

Enable traffic to all DB backends after some time

Right now, traffic is disabled until we check the DB and is enabled automatically after many hours (30000 successful health checks) which is too much.
We should calculate a new value for successful health checks - traffic should be enabled after approximately 20 minutes automatically.

Prepare docker environment for LA version 5.27+

LA version >5.24 introduced ES 7.X requirement and removed support for PHP 7.2 which means containers using PHP and Elasticsearch need to be upgraded to use the latest LA version. As we need to rebuilt apache-fpm and resque containers we should also install httpd in secure way using official CentOS repositories and resque-server installation should use our official public upstream.

  • upgrade elasticsearch containers and use Elasticsearch 7.16.2.

  • upgrade resque containers and use PHP v7.4. resque on version 5.3.2 should be installed using this upstream instead of local zip.

  • upgrade apache-fpm containers and use PHP v7.4.

The issue need to prepare docker-1_host and docker-4_hosts_2LB templates.

Update of visitors doesn't work

Update of visitors in REDIS uses $LaVisitorId but LA doesnt print visitor ID into this cookie.
This changed and visitor uses cookie $LaVisitorId_hash. Hash is calculated:

getDomainHash: function () {
    return this.b64EncodeStringWithUnicode(this.getServerDomain_()).replace(/[+=\/]/g, '');
},

Where this.getServerDomain_ is installation domain. This should be static, but we still need to change variable in NGINX config.
Possible solution will be to automate this hash generation through container provision or communicate with LA devel team to modify bus.html to print visitor_ID as argument in URL (similar to Cloud usage)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.