Skip to content

Commit

Permalink
Updating Example Configuration (#26)
Browse files Browse the repository at this point in the history
* Using the DB_OUTPUT_PATH for the example sns configuration.

* Updating the example SQS configuration to use softwaremill/elasticmq-native and to set the AWS region and account id.
  • Loading branch information
jameskbride authored Jul 6, 2024
1 parent 8a069dd commit cdfe0a4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,4 @@ nbdist/
db.json
!example/config/db.json
example/config/logs
example/config/ouput
9 changes: 9 additions & 0 deletions example/config/elasticmq.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
include classpath("application.conf")

node-address {
protocol = http
host = sqs
port = 9324
context-path = ""
}

queues {
queue1 {}
}

# Region and accountId which will be included in resource ids
aws {
region = us-east-1
accountId = 000000000000
}
7 changes: 5 additions & 2 deletions example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ services:
volumes:
- ./config/db.json:/etc/sns/db.json
- ./config/logs:/tmp/logs
- ./config/output:/tmp/output
environment:
- DB_OUTPUT_PATH=/tmp/output/db.json
depends_on:
- sqs
sqs:
image: s12v/elasticmq
image: softwaremill/elasticmq-native:1.6.5
ports:
- "9324:9324"
volumes:
- ./config/elasticmq.conf:/etc/elasticmq/elasticmq.conf
- ./config/elasticmq.conf:/opt/elasticmq.conf

0 comments on commit cdfe0a4

Please sign in to comment.