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" + ] } ]