This commit is contained in:
kento2 2026-04-16 22:17:48 +02:00
parent ad4e00a6ab
commit 3433e1d4df
9 changed files with 43 additions and 35 deletions

View file

@ -1,15 +1,13 @@
TODO
- separate error handling from processing
- tab completion
environment
-----------
```shell
docker network create scrow 2>/dev/null || true
docker run -d --network scrow -it --rm --name mongo -p 27017:27017 mongo
docker run -d --network scrow -e ME_CONFIG_MONGODB_SERVER=mongo -e ME_CONFIG_MONGODB_AUTH_PASSWORD='' -e ME_CONFIG_MONGODB_AUTH_USERNAME='' --name mongo-express -p 8081:8081 mongo-express
```
```shell
docker network create scrow 2>/dev/null || true
docker run -d --network scrow -it --rm --name mongo -p 27017:27017 mongo
docker run -d --network scrow -e ME_CONFIG_MONGODB_SERVER=mongo -e ME_CONFIG_MONGODB_AUTH_PASSWORD='' -e ME_CONFIG_MONGODB_AUTH_USERNAME='' -e ME_CONFIG_BASICAUTH_USERNAME='a' -e ME_CONFIG_BASICAUTH_PASSWORD=1234 --name mongo-express -p 8081:8081 mongo-express
```
acce**ss the mongo-db web interface at http://localhost:8081; username `a`, password `1234`**
modules
-------