Skip to content
The container-queue-worker projects aims to provide an easy way to migrate your elastic beanstalk workers to a docker orchestration system.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker Added dockerhub reference Jun 1, 2018
project Added support for sqs May 28, 2018
src Added docker compose. May 29, 2018
.gitignore Added support for sqs May 28, 2018
README.md Added dockerhub reference Jun 1, 2018
build.sbt

README.md

container-queue-worker

The container-queue-worker projects aims to provide an easy way to migrate your elastic beanstalk workers to a docker orchestration system.

The projects works by creating a configuration file and mounting it to your container on the '/etc/worker/worker.conf' path.

worker {
  type =  sqs
  server-endpoint = http://{docker-service}
  aws {
    queue-endpoint =  http://{amazon queue endpoint}
  }
}

Another way is to configure the queue worker using environmental variables

WORKER_TYPE=sqs
WORKER_SERVER_ENDPOINT=http://{docker-service}
WORKER_AWS_QUEUE_ENDPOINT=http://{amazon queue endpoint}

Keep in mind that you should provide the aws credentials configuration through environment variables This has to be done regardless of the configuration approach that you have used.

AWS_DEFAULT_REGION: eu-west-1
AWS_ACCESS_KEY_ID: access-key
AWS_SECRET_ACCESS_KEY: secret-key

The image is available on dockerhub

Licensed under Apache, Version 2.0

You can’t perform that action at this time.