Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 1.38 KB

README.md

File metadata and controls

73 lines (46 loc) · 1.38 KB

Development local stack

Dependencies

Applications

  • Postgres 12
  • Redis 5.0.5
  • Elasticsearch 7.3.1
  • Kibana 7.3.1
  • Localstack

Usage

Download images

docker-compose pull

Run apps

docker-compose up -d # runs in background

Stop apps

docker-compose stop

Aliasing

By default, docker-compose will always lookup across the current directory to find a docker-compose.yaml and the most of the time you will be in your project directory.

To skip a lot of directories changes and speed up the development process you can use the shell script aliases to make your life easer and create your own dev-stack CLI.

Pro tip: You can add this alias in your .bashrc, .bash_profile, .zshrc... to keep it up forever!

alias dev-stack='docker-compose -f /path/to/dev-stack/docker.compose.yaml'

Download images

dev-stack pull

Run apps

dev-stack up -d # runs in background

Stop apps

dev-stack stop

Authors

  • Júlio Corradi - Initial work - juliogc

License

This project is licensed under the MIT License - see the LICENSE.md file for details