Immich - Google photo alternative.
You can freely select photos into an album and then invite users to the album. All your photos remain to your user account and sharing happens via manually created albums. Want to leave one specific picture out? Sure, just do not add it to the shared album.
I have a compose example of the older mealie. May have a try:
https://github.com/Haxxnet/Compose-Examples/blob/main/examples/mealie/docker-compose.yml