Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2185

Prepare translate5 for usage with docker

    XMLWordPrintable

Details

    • Medium
    • Hide
      Before updating from a version < 5.8.0 see
      https://confluence.translate5.net/x/BYAIG
      Show
      Before updating from a version < 5.8.0 see https://confluence.translate5.net/x/BYAIG
    • Hide
      5.9.0: Introduce service checks if the configured services are working
      5.8.1: Introducing the setup of translate5 and the used services as docker containers.
      Show
      5.9.0: Introduce service checks if the configured services are working 5.8.1: Introducing the setup of translate5 and the used services as docker containers.

    Description

      First do a research

      Are there more up2date alternatives to docker / Kubernetes?

      Input from the community: Probably not for Kubernetes. An docker alternative might be containerd.

      Preparation in core

      • make install-and-update binary paths (php/mysql) overwritable via environment variables
      • configuration handling via environment? → more research needed

      Dependencies

      FrontendMessageBus

      • As separate container, easily managable with the already existing update.sh on the server to create there our message bus instance.

      Okapi and Languagetool

      • already as docker images, but in which version?

      pdfconverter container

      Static file serving

      In the docker image we can take symlinks for granted and therefore skip ZendFramework for serving static files of plugins.

      Orchestration of containers

      Via docker-compose, is looking straight forward and there are tools to convert to the obviously more complicated Kubernetes.

      Placement of the docker files

      In our translate5 github organization as project "docker", so translate5/docker.

      The docker projects maintained officially by docker itself, are using a templating engine for the Dockerfiles, I could get not find out which one yet.

      Resources

      The following Docker projects / files were used as inspiration:

      Ensure optimal setup for best perfomance

      The combination of analysis, autoqa and termtagging is sometimes quite slow for big tasks.

      We need to develop a docker-based concept in Confluence for the public for optimal setup for speed for translate5, especially for the import and implement this in our cloud.

      Attachments

        Issue Links

          Activity

            People

              leonkiz Leon Kiz
              tlauria Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: