New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQS created queues do not persist #754
Comments
I saw
then build from Dockerfile
docker-compose.yml
|
@lonewarrior556 would you like to have a solution like #819 ? Currently elasticmq supports the possibility to bootstrap some default resources when launching the SQS mock. This may be backported to localstack as well |
To be honest, I modified
this solution has worked very well for me since I can bootstrap every service at launch with cli. If something, I would love for a way to include a bash script somehow that gets executed automatically once the service is up. |
hey @lonewarrior556, your approach is definitely very interesting. The SQS implementation is based on |
I was just looking for solutions to this too. I am looking for bootstrap like a config file to create expected queues, and not actual message or queue persistence. |
Thanks for reporting @shadowspawn @mberlanda @lonewarrior556 @mberlanda
Please refer to the README on how to specify a bootstrap script that creates resources in a fresh instance: https://github.com/localstack/localstack#initializing-a-fresh-instance Thanks |
I'm trying to initialize my env once for further use.
Heres my
docker-compose.yml
I have an init script that runs the following 3 commands
I restart the container; docker exec -it localstack-aws bash...
Is there anyway to get created sqs queues to persist?
The text was updated successfully, but these errors were encountered: