You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Let's say I have a config file on the host, and a docker container that loads it. If the config file gets updated, the container isn't notified of the change. Eg:
Add a triggers section in the linuxbox_docker_container resource that works like the null_resource. Whenever the trigger values change, it forces the recreation of the resource, restarting the container in the process.
Describe alternatives you've considered
A null resource could be used to trigger a restart.
Potentially add a trigger_action that can be set to "reload" for containers that support soft-reloads.
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Let's say I have a config file on the host, and a docker container that loads it. If the config file gets updated, the container isn't notified of the change. Eg:
Describe the solution you'd like
Add a
triggers
section in thelinuxbox_docker_container
resource that works like thenull_resource
. Whenever the trigger values change, it forces the recreation of the resource, restarting the container in the process.Describe alternatives you've considered
A null resource could be used to trigger a restart.
Potentially add a
trigger_action
that can be set to "reload" for containers that support soft-reloads.Additional context
The text was updated successfully, but these errors were encountered: