Mount the named volume at /var/lib/postgresql instead of /var/lib/postgresql/data to avoid initdb failures caused by lost+found directory on ext4 storage backends.
Deployment Examples
These docker-compose deployment examples are referenced in the documentation on doc.owncloud.com. Therefore, please create an issue on the documentation issue tracker prior to major changes like moving, renaming or massively changing deployment examples.