From a9a494d3f86f926740517da674eafdfb3a187e88 Mon Sep 17 00:00:00 2001 From: dominikhoebert <42839893+dominikhoebert@users.noreply.github.com> Date: Fri, 2 Aug 2024 16:59:41 +0200 Subject: [PATCH] added homer --- README.md | 4 +- homer/assets/config.yml | 82 ++++++++++++++++++++++++++++++++ homer/assets/example.custom.css | 8 ++++ homer/assets/example2.config.yml | 64 +++++++++++++++++++++++++ homer/compose.yml | 21 ++++++++ 5 files changed, 177 insertions(+), 2 deletions(-) create mode 100644 homer/assets/config.yml create mode 100644 homer/assets/example.custom.css create mode 100644 homer/assets/example2.config.yml create mode 100644 homer/compose.yml diff --git a/README.md b/README.md index b461c25..f63bab8 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,8 @@ docker network create --driver bridge proxy - https://github.com/ChristianLempa/boilerplates/tree/main/docker-compose - cadvisor 8096 - heimdall 8097 - - homer - - pihole + - homer 8099 + - pihole - https://github.com/claabs/epicgames-freegames-node - https://github.com/vogler/free-games-claimer - https://about.gitea.com/ diff --git a/homer/assets/config.yml b/homer/assets/config.yml new file mode 100644 index 0000000..e59e138 --- /dev/null +++ b/homer/assets/config.yml @@ -0,0 +1,82 @@ +--- +# Homepage configuration +# See https://fontawesome.com/icons for icons options + +title: "Demo dashboard" +subtitle: "Homer" +logo: "logo.png" +# icon: "fas fa-skull-crossbones" # Optional icon + +header: true +footer: '

Created with with bulma, vuejs & font awesome // Fork me on

' # set false if you want to hide it. + +# Optional theme customization +theme: default +colors: + light: + highlight-primary: "#3367d6" + highlight-secondary: "#4285f4" + highlight-hover: "#5a95f5" + background: "#f5f5f5" + card-background: "#ffffff" + text: "#363636" + text-header: "#ffffff" + text-title: "#303030" + text-subtitle: "#424242" + card-shadow: rgba(0, 0, 0, 0.1) + link-hover: "#363636" + dark: + highlight-primary: "#3367d6" + highlight-secondary: "#4285f4" + highlight-hover: "#5a95f5" + background: "#131313" + card-background: "#2b2b2b" + text: "#eaeaea" + text-header: "#ffffff" + text-title: "#fafafa" + text-subtitle: "#f5f5f5" + card-shadow: rgba(0, 0, 0, 0.4) + link-hover: "#ffdd57" + +# Optional message +message: + #url: https://b4bz.io + style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options. + title: "Demo !" + icon: "fa fa-grin" + content: "This is a dummy homepage demo.
Find more information on github.com/bastienwirtz/homer" + +# Optional navbar +# links: [] # Allows for navbar (dark mode, layout, and search) without any links +links: + - name: "Contribute" + icon: "fab fa-github" + url: "https://github.com/bastienwirtz/homer" + target: "_blank" # optional html a tag target attribute + - name: "Wiki" + icon: "fas fa-book" + url: "https://www.wikipedia.org/" + # this will link to a second homer page that will load config from additionnal-page.yml and keep default config values as in config.yml file + # see url field and assets/additionnal-page.yml.dist used in this example: + - name: "another page!" + icon: "fas fa-file-alt" + url: "#additionnal-page" + +# Services +# First level array represent a group. +# Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed). +services: + - name: "Applications" + icon: "fas fa-cloud" + items: + - name: "Awesome app" + logo: "assets/tools/sample.png" + subtitle: "Bookmark example" + tag: "app" + url: "https://www.reddit.com/r/selfhosted/" + target: "_blank" # optional html a tag target attribute + - name: "Another one" + logo: "assets/tools/sample2.png" + subtitle: "Another application" + tag: "app" + url: "#" diff --git a/homer/assets/example.custom.css b/homer/assets/example.custom.css new file mode 100644 index 0000000..00658d7 --- /dev/null +++ b/homer/assets/example.custom.css @@ -0,0 +1,8 @@ +@charset "UTF-8"; + +/* Custom card colors */ +/* Use with `class:` property of services in config.yml */ +body #app .card.green { + background-color: #006600; + color: #00ff00; +} diff --git a/homer/assets/example2.config.yml b/homer/assets/example2.config.yml new file mode 100644 index 0000000..ff7f80a --- /dev/null +++ b/homer/assets/example2.config.yml @@ -0,0 +1,64 @@ +--- +# Homepage configuration +# See https://fontawesome.com/icons for icons options + +title: "Hello beautiful!" +subtitle: "App dashboard" +logo: false +# icon: "fas fa-skull-crossbones" Optional icon + +header: true + +# Optional theme customization +theme: sui +colors: + light: + highlight-primary: transparent + highlight-secondary: transparent + highlight-hover: "#4a4a4a" + text-subtitle: "#424242" + dark: + background: "#2B2C56" + highlight-primary: transparent + highlight-secondary: transparent + highlight-hover: "#200b35" + text-subtitle: "#6375e8" + +# Optional navbar +# links: [] # Allows for navbar (dark mode, layout, and search) without any links +links: [] + +# Services +# First level array represent a group. +# Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed). +services: + - name: "APPLICATIONS" + items: + - name: "Jenkins" + logo: "assets/tools/jenkins.png" + subtitle: "Continuous integration server" + url: "https://jenkins.io/" + - name: "RabbitMQ Management" + logo: "assets/tools/rabbitmq.png" + subtitle: "Manage & monitor RabbitMQ server" + # Optional tagstyle + # Same styling options as the optional message. + tagstyle: "is-success" + url: "https://www.rabbitmq.com/" + - name: "M/Monit" + logo: "assets/tools/monit.png" + subtitle: "Monitor & manage all monit enabled hosts" + url: "https://mmonit.com/monit/" + - name: "Grafana" + logo: "assets/tools/grafana.png" + subtitle: "Metric analytics & dashboards" + url: "https://grafana.com/" + - name: "Kibana" + logo: "assets/tools/elastic.png" + subtitle: "Explore & visualize logs" + url: "https://www.elastic.co/products/kibana" + - name: "Website monitoring" + logo: "assets/tools/pingdom.png" + subtitle: "Pingdom public reports overview" + tag: "CI" + url: "https://www.pingdom.com/" diff --git a/homer/compose.yml b/homer/compose.yml new file mode 100644 index 0000000..ec8d9ff --- /dev/null +++ b/homer/compose.yml @@ -0,0 +1,21 @@ +# https://github.com/bastienwirtz/homer +# https://homer-demo.netlify.app/ +# A dead simple static HOMepage for your servER to keep your services on hand, from a simple yaml configuration file + +name: homer + +services: + homer: + image: docker.io/b4bz/homer:v24.05.1 + container_name: homer + ports: + - 8099:8080 + volumes: + - ./assets/:/www/assets + networks: + - proxy + +networks: + proxy: + external: true + \ No newline at end of file