diff --git a/docker-compose.yml b/docker-compose.yml index fb79932..917bfe8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,3 +13,12 @@ services: ports: - "8025:8025" - "1025:1025" + + ofelia: + image: mcuadros/ofelia:latest + depends_on: + - notifier + command: daemon --config=/opt/config.ini + volumes: + - /var/run/docker.sock:/var/run/docker.sock:ro + - ./ofelia.ini:/opt/config.ini diff --git a/ofelia.ini b/ofelia.ini new file mode 100644 index 0000000..86eb016 --- /dev/null +++ b/ofelia.ini @@ -0,0 +1,9 @@ +[global] +smtp-host = mailhog +smtp-port = 1025 +email-to = max@ence.fr +email-from = ofelia@container.sh + +[job-run "notifier"] +schedule = @every 10s +container = github-release-notifier