elementar / docker-s3-volume

Docker container with a data volume from s3.
MIT License
267 stars 68 forks source link

Health check to indicate volume is ready #17

Open crummy opened 3 years ago

crummy commented 3 years ago

I'd like to know when my container is done booting up (i.e. has pulled all the files in my s3 bucket). I'm imagining a health check I could use in my docker-compose file. Is there something I can use for this?

(Thanks for the project! This is really a lifesaver for me.)

crummy commented 3 years ago

I've opened a PR to add support for this: https://github.com/elementar/docker-s3-volume/pull/18