Skip to content

karantrehan3/docker-localstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to configure localstack?

{% include header.html %}

Using Docker

One time setup

  1. Install docker (might need docker-compose separately for linux):
    1. Linux
    2. Mac
    3. Windows
  2. In case docker-compose is not installed for Linux, refer to this
  3. Once docker is installed, spin up the daemon service by simply launching the Desktop version and then open a terminal. Execute docker -v and docker-compose -v to establish that both are running.
  4. Next, pull the localstack image by running docker pull localstack/localstack

Running it locally

  1. Once the setup is done, in case Docker Desktop is not running, spin it up initially.
  2. Navigate to the directory holding the docker-compose.yml and Dockerfile in a terminal
  3. Execute docker-compose up --build

That's all, you will see the docker container spin up and the scripts specified under ./scripts executing

How it executes?

  1. When the container is started, we execute ./scripts/init.sh
  2. This is the parent script that executes all the child scripts in the order of their imports.

For any queries, please create issues in the repository.

About

Repo on how to spin up aws services locally through docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published