From 49ceba66c839c35430b478655cf53120d19696bc Mon Sep 17 00:00:00 2001 From: DrMxrcy <58747968+DrMxrcy@users.noreply.github.com> Date: Thu, 19 Oct 2023 13:33:33 -0400 Subject: [PATCH] Update Linkwarden Image and Variables (#1399) - Update Linkwarden to Official Image --- apps/linkwarden/config.json | 13 ++++++++++--- apps/linkwarden/docker-compose.yml | 3 ++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/apps/linkwarden/config.json b/apps/linkwarden/config.json index 0eff16af..78fa19c6 100644 --- a/apps/linkwarden/config.json +++ b/apps/linkwarden/config.json @@ -5,9 +5,8 @@ "available": true, "exposable": true, "id": "linkwarden", - "tipi_version": 1, - "supported_architectures": ["amd64"], - "version": "v1.0.1", + "tipi_version": 2, + "version": "v1.2.0", "categories": ["data"], "description": "A self-hosted, open-source collaborative bookmark manager to collect, organize and archive webpages.", "short_desc": "A self-hosted, open-source collaborative bookmark manager", @@ -25,6 +24,14 @@ "label": "Linkwarden Nextauth Secret", "min": 32, "env_variable": "LINKWARDEN_NEXTAUTH_SECRET" + }, + { + "type": "boolean", + "label": "Disable Registration", + "hint": "Needed for at least one user. If on registration will be disabled.", + "required": false, + "default": "false", + "env_variable": "LINKWARDEN_NEXT_PUBLIC_DISABLE_REGISTRATION" } ] } diff --git a/apps/linkwarden/docker-compose.yml b/apps/linkwarden/docker-compose.yml index 1c48fd82..803da4f8 100644 --- a/apps/linkwarden/docker-compose.yml +++ b/apps/linkwarden/docker-compose.yml @@ -2,12 +2,13 @@ version: "3.7" services: linkwarden: - image: ghcr.io/selfhostedhub/linkwarden:v1.0.1 + image: ghcr.io/linkwarden/linkwarden:v1.2.0 container_name: linkwarden environment: - DATABASE_URL=postgresql://tipi:${LINKWARDEN_DB_PASSWORD}@linkwarden-db:5432/linkwarden - NEXTAUTH_SECRET=${LINKWARDEN_NEXTAUTH_SECRET} - NEXTAUTH_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN} + - NEXT_PUBLIC_DISABLE_REGISTRATION=${LINKWARDEN_NEXT_PUBLIC_DISABLE_REGISTRATION} restart: unless-stopped volumes: - ${APP_DATA_DIR}/data/linkwarden:/data/data