docs/docker-compose-install.md aktualisiert

This commit is contained in:
Crimekillz 2024-04-28 12:19:17 +02:00 committed by Iceshrimp development
parent e318c48a5e
commit fa7f40a56d
No known key found for this signature in database
GPG Key ID: 7249C94AE229BEAF

View File

@ -79,3 +79,15 @@ docker compose up -d
## Post-install ## Post-install
See [post-install](post-install.md). See [post-install](post-install.md).
## Troubleshooting
```WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition.```
If you see a warning like this, you have to enable overcommit on your host machine (outside docker, since /proc is read-only for redis).
Solution
```
echo "vm.overcommit_memory = 1" | sudo tee /etc/sysctl.d/trashposs-memory-overcommit.conf should be set, to enable Memory overcommit on reboot, change will apply after reboot or see the line below how to activate it temporary without reboot
sysctl "vm.overcommit_memory=1" enables Memory overcommit on-the-fly, you can then start TrashPoss with "docker-compose up -d"
```