This is installation is for new installations. If you upgrade from an existing installation see translate5 > 5.8.0 - needed visualreview to docker migration |
On the host system docker and docker-compose must be installed.
The translate5 installation consists of several Docker images providing the needed software apart from translate5 itself.
In order to use the docker compose files you have to remove the whole LICENSE DISCLAIMER, from START to END. By removing these lines you accept the several different licenses used by the main software brought contained in each of the docker images, that you install. Which license this is you can see in the readme of every of those images on dockerhub. As with all Docker images, the installed images likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained). As for any pre-built image usage, it is the image user's responsibility to ensure that any use of these images complies with any relevant licenses for all software contained within. |
Get the latest docker-compose.yml file.
Remove the license disclaimer from the file before using it!
Get the latest docker-compose.production.yml file - which is an addition to the base config file from above.
Changes regarding your local setup should be done in that file. This may be the configuration of volumes, host and port configurations.
The production file configures several volumes where your data is stored.
CONTAINER_REGISTRY_BASE=translate5 MYSQL_USERNAME=translate5 MYSQL_PASSWORD=translate5 APP_HOST=t5docker.localdev COMPOSE_FILE=docker-compose.yml:docker-compose.production.yml |
Put all fetched docker-compose file and the generated .env file into the same directory and call:
docker compose up -d # if that it is not possible, try docker-compose up -d |
In order to use visualreview:
|
In order to use paid or private customer specific plug-ins, follow the normal installation. If all is up and running request the installer package containing all private plugins from mittagqi. You will receive an URL pointing to the package.zip.
Go into the translate5 docker container:
docker-compose exec php bash t5 status # now you should be in /var/www/translate5 wget URL_TO_YOUR.zip ./install-and-update.sh YOUR.zip t5 service:autodiscovery -s |
This steps will be improved in the near future, so that private plug-ins are registered via the config and pulled automatically.
SSL Offloading to an external LB is possible, the LB must support / enable websockets.
The last step is needed since the /wss/ location block is normally in the ssl-server.conf which is not used since SSL is offloaded.