diff --git a/Dockerfile b/Dockerfile index 566c472..0b01b41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ from golang:1.25-alpine as builder -env KNOT_REPO_SCAN_PATH=/home/git/repositories env CGO_ENABLED=1 arg TAG='v1.13.0-alpha' @@ -10,6 +9,7 @@ run git clone -b ${TAG} https://tangled.org/@tangled.org/core . run go build -o /usr/bin/knot -ldflags '-s -w -extldflags "-static"' ./cmd/knot from alpine:latest +env KNOT_REPO_SCAN_PATH=/home/git/repositories expose 5555 expose 22 -- 2.51.2 From dc75815e54ab9da05c3ff9059a906bc934faee5e Mon Sep 17 00:00:00 2001 From: Lewis Date: Tue, 28 Apr 2026 14:11:48 +0300 Subject: [PATCH 2/4] fix: show correct CR in readme Lewis: May this revision serve well! --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 11f7a33..7d693c6 100644 --- a/readme.md +++ b/readme.md @@ -8,11 +8,11 @@ and host your own repository data. ## Pre-built Images -There is a [repository](https://hub.docker.com/r/tngl/knot) of pre-built images -for tags starting at `v1.8.0-alpha` if you prefer. +There is a [repository](https://atcr.io/r/tangled.org/knot) of pre-built images +for tags starting at `v1.13.0-alpha` if you prefer. ``` -docker pull tngl/knot:v1.10.0-alpha +docker pull atcr.io/tangled.org/knot:latest ``` Note that these are *not* official images, you use them at your own risk. -- 2.51.2 From 1d00aff570aca81279aea46f9fcfcfa52fd179da Mon Sep 17 00:00:00 2001 From: "cosmichorror.dev" Date: Wed, 29 Apr 2026 10:08:58 +0300 Subject: [PATCH 3/4] more newcomer friendly compose yay, an up-to-date prebuilt image! this changes the provided compose file to be more in-line with what a user would likely expect (as opposed to having to clone the full repo to build the image locally). the instructions about how to build the image with a compose file in the readme are still valid in-case people still want to go that route (thanks oyster.cafe!) --- docker-compose.yml | 6 +----- readme.md | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 558b19f..619e204 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,6 @@ services: knot: - build: - context: . - args: - UID: 1000 - GID: 1000 + image: atcr.io/tangled.org/knot:latest environment: KNOT_SERVER_HOSTNAME: ${KNOT_SERVER_HOSTNAME} KNOT_SERVER_OWNER: ${KNOT_SERVER_OWNER} diff --git a/readme.md b/readme.md index 7d693c6..9220351 100644 --- a/readme.md +++ b/readme.md @@ -63,6 +63,7 @@ The simplest way to set up your own knot is to use the provided compose file and run the following: ```sh +mkdir keys repositories server export KNOT_SERVER_HOSTNAME=example.com export KNOT_SERVER_OWNER=did:plc:yourdidgoeshere export KNOT_SERVER_PORT=443 -- 2.51.2 From d6d1a11dda3a997a1315c47e69a76b11c4eda2f8 Mon Sep 17 00:00:00 2001 From: Lewis Date: Mon, 11 May 2026 13:25:58 +0300 Subject: [PATCH 4/4] feat: bump to v1.14 Lewis: May this revision serve well! --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b01b41..e5430aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ from golang:1.25-alpine as builder env CGO_ENABLED=1 -arg TAG='v1.13.0-alpha' +arg TAG='v1.14.0-alpha' workdir /app run apk add git gcc musl-dev