Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How-to customize template.js and fully leverages dockerode with customizable connect text #88

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

oliveratgithub
Copy link
Contributor

  • Added detailed how-to customize template.js messages, including available event variables
  • Fixed the broken GitHub-workflow badge status in the README
  • Added more Docker- and Host related variables to connect text via dockerode
  • Removed the dependency of require('os') as data is part of dockerode already (see above point)
  • Made the connect notification message customizable via template.js

REMARKS

Unfortunately I am not able to test these changes, so would appreciate if someone could do so before merging.

Also I am not really familiar with node.js development, and mostly did the changes by adapting to the existing code, with help of the official Docker Engine API and dockerode documentations.

@luc-ass
Copy link
Owner

luc-ass commented Dec 13, 2024

Hey there, thank you for taking part in this project! The changes you made look promising. I'll try to test them over the next few days.

@luc-ass luc-ass self-assigned this Dec 13, 2024
@luc-ass luc-ass added enhancement New feature or request documentation Improvements or additions to documentation labels Dec 13, 2024
@luc-ass luc-ass changed the base branch from main to post-to-thread December 13, 2024 08:34
@luc-ass
Copy link
Owner

luc-ass commented Dec 13, 2024

I'll merge it into the current development branch. Let's see how it goes ;)

@luc-ass luc-ass merged commit 328fd49 into luc-ass:post-to-thread Dec 13, 2024
@oliveratgithub
Copy link
Contributor Author

I'll merge it into the current development branch. Let's see how it goes ;)

@luc-ass seems to work - tested with lorcas/docker-telegram-notifier:v1.4.0-beta3 😎

Connection info I get via Telegram Bot message:

Connected to docker v27.3.1 on orbstack
OS: linux/aarch64 (OrbStack), 10 CPU, 20033.24MB RAM

@luc-ass
Copy link
Owner

luc-ass commented Dec 13, 2024

Same here! Great addition!

@luc-ass
Copy link
Owner

luc-ass commented Dec 13, 2024

All looked good. I released 1.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants