Example - Docker Compose deployment
This example deployment is run inside Docker Compose, starting with the same image for all containers (sdl-ets/ets:8.3.0-generic).
Assumptions
- The image must exist before the deployment.
- The Language Pairs are not installed inside the container image, but rather mounted via a shared directory from the host machine.
Environment variables shared between all containers
Configuration file for Docker Compose
Starting SDL Machine Translation Edge
At this point SDL Machine Translation Edge should be running using the configuration described in docker-compose.yml:
- 5 containers
- 1 Master (ets-master)
- 1 Job Engine (job-engine)
- 2 Eng-Fra Translation Engines (eng_fra; eng_fra2)
Docker will expose the SDL Machine Translation Edge Web UI port (18000) and REST API port (18001), according to the configuration.