The Shaarli docker documentation is like a masterclass in how to use docker and docker-compose. I wish I had known all of this when building up my self-hosted services (navidrome, photoprism, etc.) Great reference: https://shaarli.readthedocs.io/en/master/Docker.html