From dc9efc65e06b99a4666c4336b02dce859d389a3c Mon Sep 17 00:00:00 2001 From: bdizen Date: Tue, 26 Nov 2024 13:14:18 +0200 Subject: [PATCH] Add default homepage docker compose and configs --- config/.gitignore | 1 + config/bookmarks.yaml | 18 ++++++++++++++++++ config/custom.css | 0 config/custom.js | 0 config/docker.yaml | 10 ++++++++++ config/kubernetes.yaml | 2 ++ config/services.yaml | 18 ++++++++++++++++++ config/settings.yaml | 7 +++++++ config/widgets.yaml | 12 ++++++++++++ docker-compose.yaml | 9 +++++++++ 10 files changed, 77 insertions(+) create mode 100644 config/.gitignore create mode 100644 config/bookmarks.yaml create mode 100644 config/custom.css create mode 100644 config/custom.js create mode 100644 config/docker.yaml create mode 100644 config/kubernetes.yaml create mode 100644 config/services.yaml create mode 100644 config/settings.yaml create mode 100644 config/widgets.yaml create mode 100644 docker-compose.yaml diff --git a/config/.gitignore b/config/.gitignore new file mode 100644 index 0000000..cd3d225 --- /dev/null +++ b/config/.gitignore @@ -0,0 +1 @@ +logs \ No newline at end of file diff --git a/config/bookmarks.yaml b/config/bookmarks.yaml new file mode 100644 index 0000000..2b82ea7 --- /dev/null +++ b/config/bookmarks.yaml @@ -0,0 +1,18 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/bookmarks + +- Developer: + - Github: + - abbr: GH + href: https://github.com/ + +- Social: + - Reddit: + - abbr: RE + href: https://reddit.com/ + +- Entertainment: + - YouTube: + - abbr: YT + href: https://youtube.com/ diff --git a/config/custom.css b/config/custom.css new file mode 100644 index 0000000..e69de29 diff --git a/config/custom.js b/config/custom.js new file mode 100644 index 0000000..e69de29 diff --git a/config/docker.yaml b/config/docker.yaml new file mode 100644 index 0000000..2f4c4e3 --- /dev/null +++ b/config/docker.yaml @@ -0,0 +1,10 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/docker/ + +# my-docker: +# host: 127.0.0.1 +# port: 2375 + +# my-docker: +# socket: /var/run/docker.sock diff --git a/config/kubernetes.yaml b/config/kubernetes.yaml new file mode 100644 index 0000000..aca6e82 --- /dev/null +++ b/config/kubernetes.yaml @@ -0,0 +1,2 @@ +--- +# sample kubernetes config diff --git a/config/services.yaml b/config/services.yaml new file mode 100644 index 0000000..77626b1 --- /dev/null +++ b/config/services.yaml @@ -0,0 +1,18 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/services + +- My First Group: + - My First Service: + href: http://localhost/ + description: Homepage is awesome + +- My Second Group: + - My Second Service: + href: http://localhost/ + description: Homepage is the best + +- My Third Group: + - My Third Service: + href: http://localhost/ + description: Homepage is 😎 diff --git a/config/settings.yaml b/config/settings.yaml new file mode 100644 index 0000000..141053f --- /dev/null +++ b/config/settings.yaml @@ -0,0 +1,7 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/settings + +providers: + openweathermap: openweathermapapikey + weatherapi: weatherapiapikey diff --git a/config/widgets.yaml b/config/widgets.yaml new file mode 100644 index 0000000..23c8d61 --- /dev/null +++ b/config/widgets.yaml @@ -0,0 +1,12 @@ +--- +# For configuration options and examples, please see: +# https://gethomepage.dev/configs/service-widgets + +- resources: + cpu: true + memory: true + disk: / + +- search: + provider: duckduckgo + target: _blank diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..2f25bca --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,9 @@ +services: + homepage: + image: ghcr.io/gethomepage/homepage:latest + container_name: homepage + ports: + - 3000:3000 + volumes: + - ./config:/app/config # Make sure your local config directory exists + - /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations \ No newline at end of file