mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-21 08:23:49 +01:00
docs/docker-compose-install.md aktualisiert
This commit is contained in:
parent
e318c48a5e
commit
fa7f40a56d
@ -79,3 +79,15 @@ docker compose up -d
|
||||
## Post-install
|
||||
|
||||
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"
|
||||
```
|
Loading…
Reference in New Issue
Block a user