From 3352955e4222ccaa5875145cc504c98aaf2b8e69 Mon Sep 17 00:00:00 2001 From: weaponsforge Date: Mon, 15 Jul 2024 03:47:24 +0800 Subject: [PATCH] chore: update README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index b81d96c..ed02cae 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,14 @@ The following docker-compose commands build a small client image targeted for cr docker compose -f docker-compose.prod.yml down ``` +### Docker Commands + +- **view list of running containers** + - `docker ps -a` +- **bash into the development mongodb container**
+ - `docker exec -it mongo -u -p :27017/ --authenticationDatabase ` + - i.e. (see the .env.example and docker-compose.dev.yml files)
`docker exec -it mongodb mongo -u admin -p secret mongo:27017/todo-next --authenticationDatabase admin` + @weaponsforge
20220820
20240714 \ No newline at end of file