Install openhab3 using docker-compose with external volume

Based on what you read in the documentation, what configuration did you try and what about it did not work?

Please use code fences when posting your config file contents.
How to use code fences - Tutorials & Examples - openHAB Community