Fixes in README

master
andryyy 2016-12-17 00:00:49 +01:00
parent 767cdb0e00
commit c2cffb73da
1 changed files with 12 additions and 11 deletions

View File

@ -165,21 +165,22 @@ docker-compose exec dovecot-mailcow doveadm
MariaDB: MariaDB:
``` ```
docker stop mariadb-mailcow docker-compose down
docker rm mariadb-mailcow
rm -rf data/db/mysql/* rm -rf data/db/mysql/*
./n-build-sql.sh docker-compose up
``` ```
Redis: Redis:
``` ```
# If you feel hardcore:
docker stop redis-mailcow
docker rm redus-mailcow
rm -rf data/db/redis/*
./n-build-redis.sh
## It is almost always enough to just flush all keys: ## It is almost always enough to just flush all keys:
./n-build-redis client docker-compose exec redis-mailcow redis-cli FLUSHALL
# FLUSHALL [ENTER] ```
### Scale it
You can scale services for mailcow:
```
docker-compose scale rspamd-mailcow=2
docker-compose scale rmilter-mailcow=3
# ...
``` ```