This commit is contained in:
alexbelgium
2025-06-02 09:08:46 +02:00
parent 22dcf18876
commit 77b1613dee
2 changed files with 7 additions and 4 deletions

View File

@@ -8,9 +8,9 @@
"environment": {
"OPENPROJECT_SECRET_KEY_BASE": "addon_secret",
"OPENPROJECT_EDITION": "bim",
"PGDATA": "/data/pg",
"APP_DATA_PATH": "/data/assets",
"OPENPROJECT_ATTACHMENTS__STORAGE__PATH": "/data/assets/files"
"PGDATA": "/config/pg",
"APP_DATA_PATH": "/config/assets",
"OPENPROJECT_ATTACHMENTS__STORAGE__PATH": "/config/assets/files"
},
"image": "ghcr.io/alexbelgium/openproject-{arch}",
"init": false,
@@ -39,6 +39,6 @@
"slug": "openproject",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/openproject",
"version": "16.0-6",
"version": "16.0-7",
"webui": "[PROTO:ssl]://[HOST]:[PORT:8080]"
}

View File

@@ -10,9 +10,12 @@ for folder in pg assets; do
cp -a /data/"$folder"/. /config/"$folder"/
rm -rf /data/"$folder"
fi
chmod 700 /config/"$folder"
done
echo "Setting permissions"
mkdir -p /config/assets/files
chown -R postgres:postgres /config
cd /app || true