I managed to run Split2flac docker container via Portainer (another docker app available in Unraid's marketplace) as a Stack (=docker-compose) with the following service composition:
services:
split2flac:
image: mikenye/split2flac
container_name: split2flac
volumes:
- /mnt/user/data/torrents/music/:/workdir # Mounts the current directory to /workdir in the container
environment:
- PUID=99 # Passes the user ID
- PGID=100 # Passes the group ID
stdin_open: true # Equivalent to -i (interactive)
tty: true # Equivalent to -t (TTY)
restart: "no" # Ensures the container is removed after exit (similar to --rm)
When connecting via terminal, just make sure to user your docker user instead of root as otherwise you may run into permission issue and would need to chown your files. Also, when using split2flac, it's worth adding -o flag (outpug), defining an outpud directory for the command, it didn't work for me otherwise. It now works for me, I'm now trying to put together a bash script that would scan folders in a location on a daily basis and convert flac images into tracks.
Hope this helps someone. If anyone has tips, recommendations or alternative solutions - please share them here, so that we can all boost our setups.