diff --git a/coolify/glance/assets/user.css b/coolify/glance/assets/user.css new file mode 100644 index 0000000..e69de29 diff --git a/coolify/glance/config/glance.yml b/coolify/glance/config/glance.yml new file mode 100644 index 0000000..66ff2f9 --- /dev/null +++ b/coolify/glance/config/glance.yml @@ -0,0 +1,12 @@ +server: + assets-path: /app/assets + +theme: + # Note: assets are cached by the browser, changes to the CSS file + # will not be reflected until the browser cache is cleared (Ctrl+F5) + custom-css-file: /assets/user.css + +pages: + # It's not necessary to create a new file for each page and include it, you can simply + # put its contents here, though multiple pages are easier to manage when separated + - $include: home.yml diff --git a/coolify/glance/config/home.yml b/coolify/glance/config/home.yml new file mode 100644 index 0000000..ce4bc24 --- /dev/null +++ b/coolify/glance/config/home.yml @@ -0,0 +1,56 @@ +- name: Home + # Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look + # hide-desktop-navigation: true + columns: + - size: small + widgets: + - type: calendar + first-day-of-week: monday + + - type: rss + limit: 10 + collapse-after: 3 + cache: 12h + feeds: + - url: https://selfh.st/rss/ + title: selfh.st + + - type: twitch-channels + channels: + - luigimarqs + - luigimarqs_dj + - djmozao_ + - devMozao + - otzdarva + - mynameispit + - gamesdonequick + - DanielGray10 + - Hens333 + + - size: full + widgets: + - type: group + widgets: + - type: hacker-news + - type: lobsters + + - type: videos + channels: + - UCferfyAeOJAjS9GoI4td6gg # Canal peewee + - UCXdXbm5P-8UIQRNjF94uHTA # Derrotando filmes + - UC42ZBFGMKZkg4YaQ_T6pNEw # Cortes do Cescon + - UC2Gu2D6VkeVYwXA8wnLvSwg # Aryun + - UCDO__Z-tZD4bfG9m4AkK_uA # NotOtzarva + - UCI4aITQ3nx1QR_8RxFlPjRQ # Hens333 + - UCwhYSrP7BT480a75aFAvIeg # NotHens333 + - UCXuqSBlHAE6Xw-yeJA0Tunw # Linus Tech Tips + - UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling + + - size: small + widgets: + - type: weather + location: São Paulo, Brazil + units: metric # alternatively "imperial" + hour-format: 12h # alternatively "24h" + # Optionally hide the location from being displayed in the widget + # hide-location: true \ No newline at end of file diff --git a/coolify/glance/docker-compose.yml b/coolify/glance/docker-compose.yml new file mode 100644 index 0000000..4bb29a6 --- /dev/null +++ b/coolify/glance/docker-compose.yml @@ -0,0 +1,13 @@ +services: + glance: + container_name: glance + image: glanceapp/glance + restart: unless-stopped + volumes: + - ./config:/app/config + - ./assets:/app/assets + # Optionally, also mount docker socket if you want to use the docker containers widget + - /var/run/docker.sock:/var/run/docker.sock:ro + ports: + - 8080:8080 + env_file: .env