Page MenuHomeDevCentral
Paste P322

/etc/docker/tide.conf
ActivePublic

Authored by dereckson on Mar 28 2023, 23:39.
Tags
None
Referenced Files
F2194983: tide.conf
Mar 28 2023, 23:39
Subscribers
None
# -------------------------------------------------------------
# Docker Tide :: Docker events reactor
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: BSD-2-Clause
# -------------------------------------------------------------
events_reactor:
Update Sentry Relay configuration:
event:
type: container
action: start
actor:
#name: sentry_web
name: sentry_relay
run: ["docker-paas-propagate-sentry-relay", "%%ip%%"]
Fire notification on container lifecycle event:
event:
type: container
run: [
"notification-push", "--project", "Nasqueron", "--service", "Docker",
"--type", "container.%%action%%", "--group", "ops",
"--text", "Docker container %%actor.name%%: %%action%%", "--link", "%%host%%"
]
Propagate all events to Salt:
run: ["sudo", "salt-call", "event.send", "tide/docker", "%%payload%%"]

Event Timeline

dereckson updated the paste's language from autodetect to yaml.Mar 28 2023, 23:40
dereckson changed the title of this paste from tide.conf to /etc/docker/tide.conf.