services: ship homer dashboard
parent
564dfb63eb
commit
c6a333f5bb
|
@ -72,6 +72,9 @@ These are the available environment variables:
|
|||
### Gitea
|
||||
* **GITEA_DATADIR**: directory where gitea data will be stored
|
||||
|
||||
### Homer
|
||||
* **HOMER_ASSETS_DIR**: directory for homer assets
|
||||
|
||||
### Nginx
|
||||
* **NGINX_CONF_DIR**: custom nginx configurations
|
||||
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
version: "3.3"
|
||||
|
||||
services:
|
||||
server:
|
||||
image: b4bz/homer:latest
|
||||
restart: always
|
||||
volumes:
|
||||
- $HOMER_ASSETS_DIR:/www/assets
|
||||
expose:
|
||||
- "8000"
|
||||
environment:
|
||||
- PORT=8000
|
||||
- VIRTUAL_HOST=www.$LETSENCRYPT_DOMAIN, $LETSENCRYPT_DOMAIN, homer.$LETSENCRYPT_DOMAIN
|
||||
- VIRTUAL_PORT=8000
|
||||
- LETSENCRYPT_HOST=www.$LETSENCRYPT_DOMAIN, $LETSENCRYPT_DOMAIN, homer.$LETSENCRYPT_DOMAIN
|
||||
- LETSENCRYPT_EMAIL=$LETSENCRYPT_EMAIL
|
||||
networks:
|
||||
- default
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: $SERVER_DOCKER_NETWORKNAME
|
|
@ -0,0 +1,90 @@
|
|||
---
|
||||
# Homepage configuration
|
||||
# See https://fontawesome.com/icons for icons options
|
||||
|
||||
title: "Homer Dashboard | EmaMaker"
|
||||
subtitle: "Homer"
|
||||
logo: "logo.png"
|
||||
# icon: "fas fa-skull-crossbones" # Optional icon
|
||||
|
||||
header: true
|
||||
footer: '<p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a href="https://vuejs.org/">vuejs</a> & <a href="https://fontawesome.com/">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i class="fab fa-github-alt"></i></a></p>' # 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: "#3273dc"
|
||||
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: "#3273dc"
|
||||
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. <br /> Find more information on <a href='https://github.com/bastienwirtz/homer'>github.com/bastienwirtz/homer</a>"
|
||||
|
||||
# Optional navbar
|
||||
# links: [] # Allows for navbar (dark mode, layout, and search) without any links
|
||||
links:
|
||||
- name: "Server's repo"
|
||||
icon: "fab fa-github"
|
||||
url: "https://github.com/EmaMaker/miniNAS"
|
||||
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: "Services"
|
||||
icon: "fas fa-cloud"
|
||||
items:
|
||||
- name: "Nextcloud"
|
||||
logo: "assets/tools/nextcloud_logo.png"
|
||||
subtitle: "Storage"
|
||||
tag: "app"
|
||||
url: "https://files.emamaker.com"
|
||||
target: _blank
|
||||
- name: "Gitea"
|
||||
logo: "assets/tools/gitea_logo.png"
|
||||
subtitle: "Git server"
|
||||
tag: "app"
|
||||
url: "https://git2.emamaker.com"
|
||||
target: _blank
|
||||
- name: "Searx"
|
||||
logo: "fab fa-search"
|
||||
tag: "app"
|
||||
url: "https://searx.emamaker.com"
|
||||
target: _blank
|
Loading…
Reference in New Issue