readme: invite to make sure the CouchDB username and password in config/local.cjs match docker-compose.yml environment variables

This commit is contained in:
maxlath
2023-04-28 11:17:29 +02:00
parent 3e8a4feb1c
commit 6f8bafb030

View File

@@ -37,13 +37,15 @@ Configure inventaire so that it can connect to CouchDB. For that, create a file
```sh
echo "module.exports = {
db: {
username: 'couchdb',
password: 'password'
username: 'yourcouchdbusername',
password: 'yourcouchdbpassword'
}
}
" > ./inventaire/config/local.cjs
```
NB: Those username and password should match the `COUCHDB_USER` and `COUCHDB_PASSWORD` environment variables set in `docker-compose.yml`
### Rootless Docker
Docker Engine v20.10 is now available in rootless mode. If you would like to try it, you may follow the [official guide](https://docs.docker.com/engine/security/rootless/) (including command `export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock`).