docker: make compose work with cgroups (v2), conversion scripts/docs

This commit is contained in:
j4n
2026-02-16 11:31:42 +01:00
parent 557ad2ed3c
commit ce65866595
4 changed files with 145 additions and 5 deletions

View File

@@ -67,7 +67,10 @@ git config --global --add safe.directory /opt/chatmail
if [ "$RECREATE_VENV" = true ]; then
rm -rf venv
fi
./scripts/initenv.sh
# Skip venv creation if it already exists
if [ ! -x venv/bin/python ] || [ ! -x venv/bin/cmdeploy ]; then
./scripts/initenv.sh
fi
./scripts/cmdeploy init --config "${INI_FILE}" $INI_CMD_ARGS $MAIL_DOMAIN || true
bash /update_ini.sh