When you have Postgres involved, it is always related to it. Even wen the app runs on ‘apps’ user (UID 568), you MUST set the database folder as following:
chown netdata:docker /path/to/data -R
chmod 700 /path/to/data -R
If that fails, I owe you a beer.