Install openhab3 using docker-compose with external volume

Hello everyone,

I’m new to Docker, and I’d like to get Openhab3 working.

My setup:
Raspberry Pi 4 8GB
Raspberry Pi OS ARM64, lite (no desktop)
Docker: version 20.10.5, build 55c4c88
docker-compose: version 1.28.5, build unknown

I already had a look into the Docker Hub documentation about openhab3 (Docker Hub)

I like to have the possibility to access the /openhab/conf folder directly from my home path (e.g. /home/pi/openhab/conf). So that I can easily edit all attached files with my standard user. How should the docker-compose.yml file look like, and what kind of permissions do I need to grant?

Thank you very much in advance.

BR,
Julian