diff --git a/apps/glance/config.json b/apps/glance/config.json new file mode 100644 index 00000000..e2fbcef6 --- /dev/null +++ b/apps/glance/config.json @@ -0,0 +1,18 @@ +{ + "$schema": "../schema.json", + "name": "Glance", + "port": 8568, + "available": true, + "exposable": true, + "id": "glance", + "tipi_version": 1, + "version": "v0.4.0", + "categories": ["utilities"], + "description": "A self-hosted dashboard that puts all your feeds in one place", + "short_desc": "Super configurable dashboard", + "author": "glanceapp", + "source": "https://github.com/glanceapp/glance", + "form_fields": [], + "supported_architectures": ["arm64", "amd64"], + "dynamic_config": true +} diff --git a/apps/glance/data/glance.yml b/apps/glance/data/glance.yml new file mode 100644 index 00000000..e9d2e541 --- /dev/null +++ b/apps/glance/data/glance.yml @@ -0,0 +1,65 @@ +pages: + - name: Home + columns: + - size: small + widgets: + - type: calendar + + - type: rss + limit: 10 + collapse-after: 3 + cache: 3h + feeds: + - url: https://ciechanow.ski/atom.xml + - url: https://www.joshwcomeau.com/rss.xml + title: Josh Comeau + - url: https://samwho.dev/rss.xml + - url: https://awesomekling.github.io/feed.xml + - url: https://ishadeed.com/feed.xml + title: Ahmad Shadeed + + - type: twitch-channels + channels: + - theprimeagen + - cohhcarnage + - christitustech + - blurbs + - asmongold + - jembawls + + - size: full + widgets: + - type: hacker-news + + - type: videos + channels: + - UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling + - UCv6J_jJa8GJqFwQNgNrMuww # ServeTheHome + - UCOk-gHyjcWZNj3Br4oxwh0A # Techno Tim + + - type: reddit + subreddit: selfhosted + + - size: small + widgets: + - type: weather + location: London, United Kingdom + + - type: stocks + stocks: + - symbol: SPY + name: S&P 500 + - symbol: BTC-USD + name: Bitcoin + - symbol: NVDA + name: NVIDIA + - symbol: AAPL + name: Apple + - symbol: MSFT + name: Microsoft + - symbol: GOOGL + name: Google + - symbol: AMD + name: AMD + - symbol: RDDT + name: Reddit diff --git a/apps/glance/docker-compose.json b/apps/glance/docker-compose.json new file mode 100644 index 00000000..05e02f08 --- /dev/null +++ b/apps/glance/docker-compose.json @@ -0,0 +1,13 @@ +{ + "openPort": true, + "image": "glanceapp/glance:v0.4.0", + "name": "glance", + "internalPort": "8080", + "isMain": true, + "volumes": [ + { + "hostPath": "${APP_DATA_DIR}/data/glance.yml", + "containerPath": "/app/glance.yml" + } + ] +} diff --git a/apps/glance/docker-compose.yml b/apps/glance/docker-compose.yml new file mode 100644 index 00000000..78a8d04f --- /dev/null +++ b/apps/glance/docker-compose.yml @@ -0,0 +1,39 @@ +version: "3.9" +services: + glance: + image: glanceapp/glance:v0.4.0 + restart: unless-stopped + container_name: glance + ports: + - ${APP_PORT}:8080 + volumes: + - ${APP_DATA_DIR}/data/glance.yml:/app/glance.yml + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + networks: + - tipi_main_network + labels: + # Main + traefik.enable: true + traefik.http.middlewares.glance-web-redirect.redirectscheme.scheme: https + traefik.http.services.glance.loadbalancer.server.port: 8080 + # Web + traefik.http.routers.glance-insecure.rule: Host(`${APP_DOMAIN}`) + traefik.http.routers.glance-insecure.entrypoints: web + traefik.http.routers.glance-insecure.service: glance + traefik.http.routers.glance-insecure.middlewares: glance-web-redirect + # Websecure + traefik.http.routers.glance.rule: Host(`${APP_DOMAIN}`) + traefik.http.routers.glance.entrypoints: websecure + traefik.http.routers.glance.service: glance + traefik.http.routers.glance.tls.certresolver: myresolver + # Local domain + traefik.http.routers.glance-local-insecure.rule: Host(`glance.${LOCAL_DOMAIN}`) + traefik.http.routers.glance-local-insecure.entrypoints: web + traefik.http.routers.glance-local-insecure.service: glance + traefik.http.routers.glance-local-insecure.middlewares: glance-web-redirect + # Local domain secure + traefik.http.routers.glance-local.rule: Host(`glance.${LOCAL_DOMAIN}`) + traefik.http.routers.glance-local.entrypoints: websecure + traefik.http.routers.glance-local.service: glance + traefik.http.routers.glance-local.tls: true diff --git a/apps/glance/metadata/description.md b/apps/glance/metadata/description.md new file mode 100644 index 00000000..fdc14cd2 --- /dev/null +++ b/apps/glance/metadata/description.md @@ -0,0 +1,40 @@ +
What if you could see everything at a...
+