This is the Docker wrapper for Statika
docker run -t -i --rm \
--env CONFIGURATION_URL=<s3-url> \
--env SERVICES_URL=<s3-url> \
--env AWS_REGION=<aws-region> \
fractos/statika:latest
e.g.
docker run -t -i --rm \
--env CONFIGURATION_URL=s3://mybucket/statika-conf.json \
--env SERVICES_URL=s3://mybucket/statika-services.json \
--env AWS_REGION=eu-west-1 \
fractos/statika:latest
{
"cluster": "<cluster-name>",
"sleepTimeSeconds": <time-in-seconds>
}
[
{
"serviceName": "<ecs-service-name>",
"exposedContainerName": "<container-name-to-balance>",
"loadBalancerName": "<name-of-classic-load-balancer>"
}
]
This is an array of JSON objects.