Skip to content

JasonSweatt/development-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose

commands to setup local docker env for development

Feel free to clone and make any changes if you need a quick dev env locally with Docker with a set of tools this is an easy way to get started..

Tools within docker-compose

📖 Table of Contents

Configure Docker

Setup

Create docker-compose

docker-compose -f .\docker-compose.yml up

If using Linux:

docker-compose -f ./docker-compose.yml up

Taredown works on both OS:

docker-compose down -v

extra commands:

docker --version

OR

docker-compose --version

OR

docker ps -a

Configurations

Windows

note: for ES you will have to do a few steps

wsl

Gets the list of run apps

wsl -l -v

To Update wsl

wsl --update

shutdown wsl

wsl --shutdown

Restart docker desktop to take affect

To Install GUI tool for linux on windows

help

developers linux of choice

wsl --install -d Debian

Change the sysctl variable

wsl -d docker-desktop

To set a variable this is needed for ES as it will give an error

 ysctl -w vm.max_map_count=262144

To verify

sysctl vm.max_map_count

Notes

I did not add MS SQL to docker-compose as I like to use that locally installed better performance.

If someone else needs it, you can add below to docker-compose.yml:

  sqlserver:
    container_name: sqlserver
    image: mcr.microsoft.com/mssql/server:2019-latest
    environment:
      - SA_PASSWORD=${MSSQL_PASSWORD}
      - ACCEPT_EULA=Y
    ports:
      - 1433:1433

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages