Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Improve homepage service template

Telokis5d4a379e8dbc
diff --git a/templates/compose/homepage.yaml b/templates/compose/homepage.yaml
index c32d02f9a8..7f3d9eaaa6 100644
--- a/templates/compose/homepage.yaml
+++ b/templates/compose/homepage.yaml
@@ -11,6 +11,112 @@ services:
- SERVICE_FQDN_HOMEPAGE_3000
- HOMEPAGE_VAR_BASE=${SERVICE_FQDN_HOMEPAGE}
volumes:
- - homepage-config:/app/config
- - homepage-images:/app/public/images
- - /var/run/docker.sock:/var/run/docker.sock
+ - /var/run/docker.sock:/var/run/docker.sock:ro
+ - ./images:/app/public/images
+
+ - type: bind
+ source: ./config/bookmarks.yaml
+ target: /app/config/bookmarks.yaml
+ content: |
+ ---
+ # For configuration options and examples, please see:
+ # https://gethomepage.dev/latest/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/
+
+ - type: bind
+ source: ./config/custom.css
+ target: /app/config/custom.css
+ content: ""
+
+ - type: bind
+ source: ./config/custom.js
+ target: /app/config/custom.js
+ content: ""
+
+ - type: bind
+ source: ./config/docker.yaml
+ target: /app/config/docker.yaml
+ content: |
+ ---
+ # For configuration options and examples, please see:
+ # https://gethomepage.dev/latest/configs/docker/
+
+ # my-docker:
+ # host: 127.0.0.1
+ # port: 2375
+
+ # my-docker:
+ # socket: /var/run/docker.sock
+
+ - type: bind
+ source: ./config/kubernetes.yaml
+ target: /app/config/kubernetes.yaml
+ content: |
+ ---
+ # sample kubernetes config
+
+ - type: bind
+ source: ./config/services.yaml
+ target: /app/config/services.yaml
+ content: |
+ ---
+ # For configuration options and examples, please see:
+ # https://gethomepage.dev/latest/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 😎
+
+ - type: bind
+ source: ./config/settings.yaml
+ target: /app/config/settings.yaml
+ content: |
+ ---
+ # For configuration options and examples, please see:
+ # https://gethomepage.dev/latest/configs/settings
+
+ providers:
+ openweathermap: openweathermapapikey
+ weatherapi: weatherapiapikey
+
+ - type: bind
+ source: ./config/widgets.yaml
+ target: /app/config/widgets.yaml
+ content: |
+ ---
+ # For configuration options and examples, please see:
+ # https://gethomepage.dev/latest/configs/service-widgets
+
+ - resources:
+ cpu: true
+ memory: true
+ disk: /
+
+ - search:
+ provider: duckduckgo
+ target: _blank