Starting a Cluster of FTL Servers in Docker Containers
Copyright © Cloud Software Group, Inc. All rights reserved.
To start FTL servers that require explicit configuration, complete this task.
globals: core.servers: ftl1: host1:8585 ftl2: host2:8585 ftl3: host3:8585 servers: ftl1: - realm: {} ftl2: - realm: {} ftl3: - realm: {}
The configuration file can include core servers, auxiliary servers, or both.
Option | Description |
---|---|
No eFTL service | ftl-tibftlserver:6.0.0 |
eFTL service | ftl-tibeftlserver:6.0.0 |
To make the configuration file available within the container, bind the external file system with Docker's -v parameter.
Publish the FTL server port using Docker's -p parameter. This example uses the default port, 8585.
Supply the configuration file name as the argument to the FTL server's -c parameter.
Supply the server name as the argument to the FTL server -n or --name parameter. The name refers to the server defined in the configuration file.
docker run -v /var/tmp:/tmp
-p 8585:8585
-c /tmp/ftl/ftlconfig.yml
ftl-tibftlserver:6.0.0
-n server_name