Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Install translate5 and its services

...

Get docker-compose.yml

Get the latest docker-compose.yml file.

Remove the license disclaimer from the file before using it!

...

Get docker-compose.production.yml - change if needed

Get the latest docker-compose.production.yml file - which is an addition to the base config file from above.

...

The production file configures several volumes where your data is stored.

Create a .

...

env file

Create a file with name ".env" (nothing before the "." in the file name) and the following content.

Change the values of MYSQL_USERNAME and MYSQL_PASSWORD, if needed/wanted.

Change the value of APP_HOST to the domain under which translate5 should run.

The value of COMPOSE_FILE can stay as it is, except if you want also install translate5 Visual (see below in this case).

In case you want to install translate5 Visual, please jump to the instructions for the Visual.

Code Block
CONTAINER_REGISTRY_BASE=translate5
MYSQL_USERNAME=translate5
MYSQL_PASSWORD=translate5
APP_HOST=t5docker.localdev
COMPOSE_FILE=docker-compose.yml:docker-compose.production.yml

...

Execute docker-compose up

Put all 2 (or in case of translate5 Visual usage 3) fetched docker-compose file yml files and the generated ".env" file into the same directory and call:

Code Block
docker compose up -d

# If ifthe thatabove itcommand isreturns notan possibleerror, try the following command
docker-compose up -d

...

Now everything needed for translate5 will be automatically downloaded, installed and configured for your needs.

Sit back, and watch!

Anchor
jump to the Visual
jump to the Visual
Additional instructions for users of paid or non-public translate5 plug-ins

Visual / VisualReview

Note

In order to use visualreviewthe Visual plug-in:

  • get Get a docker hub token from MittagQI
  • login Login to docker hub with thatby executing
    • docker login -u translate5

    • At the password prompt, enter the personal access token.

  • Download theget docker-compose.visual.yml
  • add to Change in your ".env" file the value of COMPOSE_FILE to docker-compose.yml:docker-compose.visual.yml:docker-compose.production.yml
  • check Open the docker-compose.production.yml and comment in the visual related entries.search for the following line:
    • # ENABLE ME IF USING Visual plugin

    • Uncomment the 4 lines below this line (remove the starting # from them)
  • Go to Execute docker-compose up and follow those intructions. After this paragraph is done, go to General steps for paid/private plug-ins and follow those steps. Then you are done.follow below general steps

General steps for paid/private plug-ins

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 containerOn your CMD execute the following:

Code Block
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.

Additional hints for experts regarding optional configuration steps

SSL Offloading

SSL Offloading to an external LB load balancer is possible, the LB load balancer must support / enable websockets.

...