Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
weaponsforge committed Jul 14, 2024
1 parent 257490a commit 3352955
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**<br>
- `docker exec -it <MONGO_CONTAINER> mongo -u <DB_USERNAME> -p <DB_PASS> <SERVICE_NAME>:27017/<DB_NAME> --authenticationDatabase <AUTH_SOURCE_FROM_URI>`
- i.e. (see the .env.example and docker-compose.dev.yml files)<br> `docker exec -it mongodb mongo -u admin -p secret mongo:27017/todo-next --authenticationDatabase admin`
@weaponsforge<br>
20220820<br>
20240714

0 comments on commit 3352955

Please sign in to comment.