mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-14 03:14:56 +02:00
docs: Remove ENV ONE_DIR
(#3840)
* docs: Better document DMS volumes * docs: Remove any mention of `ONE_DIR` ENV * chore: Remove `ONE_DIR` ENV from scripts Only `ONE_DIR=0` has any effect. As the actual feature is now dependent upon the `/var/mail-state` location existing. It is advised not mounting anything there instead if wanting to avoid runtime state consolidation. * docs: Adjust link ref convention This is more search friendly / organized to find references to all DMS volumes. * lint: Ensure final newline is present VSCode by default excludes this if the last line rendered is removed (rendered as a separate blank line). A separate setting can enforce adding the final newline upon save regardless.
This commit is contained in:
parent
11c508cd11
commit
3b11a8305e
15 changed files with 102 additions and 67 deletions
|
@ -127,9 +127,9 @@ expand_keys = true;
|
|||
|
||||
EOF
|
||||
|
||||
# Here we adjust the Redis default configuration that we supply to Redis
|
||||
# when starting it. Note that `/var/lib/redis/` is linked to
|
||||
# `/var/mail-state/redis/` (for persisting it) if `ONE_DIR=1`.
|
||||
# Here we adjust the Redis default configuration that we supply to Redis when starting it.
|
||||
# NOTE: `/var/lib/redis/` is symlinked to `/var/mail-state/redis/` when DMS is started
|
||||
# with a volume mounted to `/var/mail-state/` for data persistence.
|
||||
sedfile -i -E \
|
||||
-e 's|^(bind).*|\1 127.0.0.1|g' \
|
||||
-e 's|^(daemonize).*|\1 no|g' \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue