Issue Description
In the upgrading documentation, stalwart/UPGRADING/v0_16.md at main · stalwartlabs/stalwart · GitHub , in Option B: Docker deployments, Step 5 says to run stalwart-cli to apply the snapshot. However, for the cases when one does not have stalwart-cli on the host machine, I think it would be nice to mention in the docs that stalwart-cli can be run from containers as well (GitHub - stalwartlabs/cli: Stalwart Command Line Interface · GitHub) and to suggest the dockerized commands, e.g.
docker run --rm -i --network="host" -e STALWART_URL="http://127.0.0.1:8080" -e STALWART_USER="admin" -e STALWART_PASSWORD="someTemporaryPassword" ghcr.io/stalwartlabs/cli apply --stdin < /path/to/export.json
instead of, or in addition to,
export STALWART_URL=http://127.0.0.1:8080
export STALWART_USER=admin
export STALWART_PASSWORD=someTemporaryPassword
stalwart-cli apply --file /path/to/export.json
Stalwart Version
v0.16.x
Installation Method
Docker
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on