- Docker usage example;
- Template for next projects with docker & docker-compose.
docker-compose -f docker-compose.yml -f docker-compose.development.yml up --build
- start application in development modedocker-compose build
- build applicationdocker-compose up
- run applicationdocker-compose up --build
- run and build? application
docker logs merndocker_api
- see api service logsdocker logs merndocker_api_db
- see api database logsdocker logs merndocker_auth
- see auth service logsdocker logs merndocker_auth_db
- see auth database logs
docker-compose rm api
- remove api containerdocker-compose rm api_db
- remove auth db container (to clear database)docker-compose rm auth
- remove auth containerdocker-compose rm auth_db
- remove auth db container (to clear database)
docker volume ls
- get all volumesdocker images
- get all imagesdocker ps
- get all working processes