From 270843ba398eb19f4ba4f07a476b2991fda89117 Mon Sep 17 00:00:00 2001 From: DrMxrcy Date: Fri, 28 Mar 2025 13:52:13 -0400 Subject: [PATCH 1/4] Add Blinko --- blueprints/blinko/blinko.svg | 114 +++++++++++++++++++++++++++ blueprints/blinko/docker-compose.yml | 44 +++++++++++ blueprints/blinko/template.yml | 16 ++++ meta.json | 18 +++++ 4 files changed, 192 insertions(+) create mode 100644 blueprints/blinko/blinko.svg create mode 100644 blueprints/blinko/docker-compose.yml create mode 100644 blueprints/blinko/template.yml diff --git a/blueprints/blinko/blinko.svg b/blueprints/blinko/blinko.svg new file mode 100644 index 0000000..11836e3 --- /dev/null +++ b/blueprints/blinko/blinko.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/blueprints/blinko/docker-compose.yml b/blueprints/blinko/docker-compose.yml new file mode 100644 index 0000000..79305f2 --- /dev/null +++ b/blueprints/blinko/docker-compose.yml @@ -0,0 +1,44 @@ +version: "3.8" + +services: + blinko-website: + image: blinkospace/blinko:latest + container_name: blinko-website + environment: + NODE_ENV: production + NEXTAUTH_SECRET: ${nextauth_secret} + DATABASE_URL: postgresql://postgres:${postgres_password}@blinko-postgres:5432/postgres + depends_on: + blinko-postgres: + condition: service_healthy + restart: always + logging: + options: + max-size: "10m" + max-file: "3" + healthcheck: + test: ["CMD", "curl", "-f", "http://blinko-website:1111/"] + interval: 30s + timeout: 10s + retries: 5 + start_period: 30s + + blinko-postgres: + image: postgres:14 + container_name: blinko-postgres + restart: always + environment: + POSTGRES_DB: postgres + POSTGRES_USER: postgres + POSTGRES_PASSWORD: ${postgres_password} + TZ: Asia/Shanghai + volumes: + - blinko-db:/var/lib/postgresql/data + healthcheck: + test: ["CMD", "pg_isready", "-U", "postgres", "-d", "postgres"] + interval: 5s + timeout: 10s + retries: 5 + +volumes: + blinko-db: {} diff --git a/blueprints/blinko/template.yml b/blueprints/blinko/template.yml new file mode 100644 index 0000000..5a9a81c --- /dev/null +++ b/blueprints/blinko/template.yml @@ -0,0 +1,16 @@ +variables: + main_domain: ${domain} + postgres_password: ${password:16} + nextauth_secret: ${password:32} + +config: + domains: + - serviceName: blinko-website + port: 1111 + host: ${main_domain} + + env: + - NEXTAUTH_URL=https://${main_domain} + - NEXT_PUBLIC_BASE_URL=https://${main_domain} + + mounts: [] diff --git a/meta.json b/meta.json index 34eca27..c0369fe 100644 --- a/meta.json +++ b/meta.json @@ -1840,5 +1840,23 @@ "docs": "https://docs.lowcoder.cloud/lowcoder-documentation" }, "tags": ["low-code", "no-code", "development"] + }, + { + "id": "blinko", + "name": "Blinko", + "version": "latest", + "description": "Blinko is a modern web application for managing and organizing your digital content and workflows.", + "logo": "blinko.svg", + "links": { + "github": "https://github.com/blinkospace/blinko", + "website": "https://blinko.space/", + "docs": "https://docs.blinko.space/" + }, + "tags": [ + "productivity", + "organization", + "workflow", + "nextjs" + ] } ] From 8a214b00f9bf17576861a87cbe33e2d1746f87b1 Mon Sep 17 00:00:00 2001 From: DrMxrcy Date: Fri, 28 Mar 2025 13:58:28 -0400 Subject: [PATCH 2/4] Fix Postgres --- blueprints/blinko/docker-compose.yml | 4 ++++ blueprints/blinko/template.yml | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/blueprints/blinko/docker-compose.yml b/blueprints/blinko/docker-compose.yml index 79305f2..01d46fd 100644 --- a/blueprints/blinko/docker-compose.yml +++ b/blueprints/blinko/docker-compose.yml @@ -8,6 +8,8 @@ services: NODE_ENV: production NEXTAUTH_SECRET: ${nextauth_secret} DATABASE_URL: postgresql://postgres:${postgres_password}@blinko-postgres:5432/postgres + NEXTAUTH_URL: ${nextauth_url} + NEXT_PUBLIC_BASE_URL: ${next_public_base_url} depends_on: blinko-postgres: condition: service_healthy @@ -16,6 +18,8 @@ services: options: max-size: "10m" max-file: "3" + ports: + - 1111:1111 healthcheck: test: ["CMD", "curl", "-f", "http://blinko-website:1111/"] interval: 30s diff --git a/blueprints/blinko/template.yml b/blueprints/blinko/template.yml index 5a9a81c..60938c1 100644 --- a/blueprints/blinko/template.yml +++ b/blueprints/blinko/template.yml @@ -2,6 +2,8 @@ variables: main_domain: ${domain} postgres_password: ${password:16} nextauth_secret: ${password:32} + nextauth_url: https://${main_domain} + next_public_base_url: https://${main_domain} config: domains: @@ -10,7 +12,9 @@ config: host: ${main_domain} env: - - NEXTAUTH_URL=https://${main_domain} - - NEXT_PUBLIC_BASE_URL=https://${main_domain} + - nextauth_secret=${nextauth_secret} + - postgres_password=${postgres_password} + - nextauth_url=${nextauth_url} + - next_public_base_url=${next_public_base_url} mounts: [] From 04efd82725fe1b74a873e741d7377aadde2b9fe8 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 30 Mar 2025 03:47:53 -0600 Subject: [PATCH 3/4] Update blueprints/blinko/template.yml --- blueprints/blinko/template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blueprints/blinko/template.yml b/blueprints/blinko/template.yml index 60938c1..10e684f 100644 --- a/blueprints/blinko/template.yml +++ b/blueprints/blinko/template.yml @@ -2,8 +2,8 @@ variables: main_domain: ${domain} postgres_password: ${password:16} nextauth_secret: ${password:32} - nextauth_url: https://${main_domain} - next_public_base_url: https://${main_domain} + nextauth_url: http://${main_domain} + next_public_base_url: http://${main_domain} config: domains: From 405acfc1453c188a055ea01735cb8b1cdd956590 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 30 Mar 2025 03:50:54 -0600 Subject: [PATCH 4/4] Add Backrest entry to meta.json with details and links --- meta.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/meta.json b/meta.json index d6149b4..711ce94 100644 --- a/meta.json +++ b/meta.json @@ -1845,6 +1845,19 @@ "development" ] }, + { + "id": "backrest", + "name": "Backrest", + "version": "1.6.0", + "description": "Backrest is a web-based backup solution powered by restic, offering an intuitive WebUI for easy repository management, snapshot browsing, and file restoration. It runs in the background, automating snapshot scheduling and repository maintenance. Built with Go, Backrest is a lightweight standalone binary with restic as its only dependency. It provides a secure and user-friendly way to manage backups while still allowing direct access to the restic CLI for advanced operations.", + "links": { + "github": "https://github.com/garethgeorge/backrest", + "website": "https://garethgeorge.github.io/backrest", + "docs": "https://garethgeorge.github.io/backrest/introduction/getting-started" + }, + "logo": "backrest.svg", + "tags": ["backup"] + }, { "id": "blinko", "name": "Blinko",