Skip to content

Instantly share code, notes, and snippets.

@marianobrc
Last active April 9, 2022 19:48
Show Gist options
  • Save marianobrc/5997a339d1c13f2b116867e35d461a27 to your computer and use it in GitHub Desktop.
Save marianobrc/5997a339d1c13f2b116867e35d461a27 to your computer and use it in GitHub Desktop.
A ustom configuration for softwaremill/elasticmq docker image to run SQS locally with docker
include classpath("application.conf")
# What is the outside visible address of this ElasticMQ node
# Used to create the queue URL (may be different from bind address!)
node-address {
protocol = http
host = "*"
port = 9324
context-path = ""
}
rest-sqs {
enabled = true
bind-port = 9324
bind-hostname = "0.0.0.0"
# Possible values: relaxed, strict
sqs-limits = strict
}
rest-stats {
enabled = true
bind-port = 9325
bind-hostname = "0.0.0.0"
}
# Should the node-address be generated from the bind port/hostname
# Set this to true e.g. when assigning port automatically by using port 0.
generate-node-address = false
queues {
default {
defaultVisibilityTimeout = 3600 seconds
delay = 0 seconds
receiveMessageWait = 0 seconds
fifo = false
contentBasedDeduplication = false
}
}
# Region and accountId which will be included in resource ids
aws {
region = us-east-1
accountId = 000000000000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment