Details
-
New Feature
-
Resolution: Fixed
-
None
-
Medium
-
-
-
Empty show more show less
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
- is a container command reachable from another container?
- No: https://stackoverflow.com/questions/50066698/execute-another-containers-command-in-another-container-docker
- Solutions: Wrap with a network service?
https://stackoverflow.com/questions/58920615/how-to-connect-to-netcat-running-in-docker-container
- Solutions: Wrap with a network service?
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:
- https://github.com/nextcloud/docker/blob/master/19.0/apache/Dockerfile
- https://github.com/docker-library/wordpress/blob/d447e82d5e847f0b06d53214b0119f9f9f67340a/php7.4/apache/docker-entrypoint.sh
- https://github.com/wikimedia/mediawiki-docker/blob/fc6333cecb419c11e84b8c79b547eef6dfc54b17/1.34/Dockerfile
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
- is blocked by
-
TRANSLATE-3055 Connect visual reflow via HTTP to headless browser instance
- Done