Original docker-compose.yml:
https://github.com/jsuto/piler/blob/master/docker/docker-compose.yaml
Essentially, I just moved the things that need setting to the .env file, and mapped the named volumes to appdata.
This is the open source edition, but the compose file for the enterprise edition is setup in a similar way.
Requirements:
Docker Compose Manager plugin:
https://forums.unraid.net/topic/114415-plugin-docker-compose-manager/