Sign inSign up

lifeci/reloader

By lifeci

•Updated over 6 years ago

Image
0

492

lifeci/reloader repository overview

⁠reloader

Monitor files pattern by sha sum and execute action if anything changed.

⁠Use case

  • Sidecar pattern as second container at pod that monitor file changes on shared volumes [1] and send reload action/signal to (main/first) service container.

⁠Size

docker image size ~1MB with minimal set of tools, based on busybox:1⁠

⁠ENV Variables

ENV NameRequiredExample
FILES_PATTERNYES"/etc/*.conf" OR "./path/to/settings/*.conf"
ACTIONYES"wget -q -c -S http://localhost/reload⁠" OR "/path/to/executable --reload"
CHECK_INTERVALNO5 (Default value is 1s)

[1] Communicate Between Containers in the Same Pod Using a Shared Volume⁠

Tag summary

Content type

Image

Digest

Size

743.8 kB

Last updated

over 6 years ago

docker pull lifeci/reloader