Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:zap: Uses HOST env var instead

Alicia Sykes11c26aeeeed3
diff --git a/services/print-message.js b/services/print-message.js
index d7d19ed0..b15d2899 100644
--- a/services/print-message.js
+++ b/services/print-message.js
@@ -23,7 +23,7 @@ module.exports = (ip, port, isDocker) => {
const blanks = (count) => printChars(count, ' ');
if (isDocker) {
// Prepare message for Docker users
- const containerId = process.env.HOSTNAME || undefined;
+ const containerId = process.env.HOST || undefined;
msg = `${chars.BLUE}${stars(91)}${chars.BR}${chars.RESET}`
+ `${chars.CYAN}Welcome to Dashy! πŸš€${chars.RESET}${chars.BR}`
+ `${chars.GREEN}Your new dashboard is now up and running `