this repo has no description

Compare changes

Choose any two refs to compare.

+11
readme.md
···
Docker container and compose setup to run a [Tangled](https://tangled.sh) knot
and host your own repository data.
+
## Pre-built Images
+
+
There is a [repository](https://hub.docker.com/r/hqnna/knot) of pre-built images
+
for tags starting at `v1.4.0-alpha` if you prefer.
+
+
```
+
docker pull hqnna/knot:v1.4.0-alpha
+
```
+
+
Note that these are *not* official images, you use them at your own risk.
+
## Building The Image
By default the `Dockerfile` will build the latest tag, but you can change it
+2 -2
docker-compose.yml
···
- ./repositories:/home/git/repositories
- ./server:/app
ports:
-
- 5555:5555
-
- 2222:22
+
- "5555:5555"
+
- "2222:22"
restart: always
frontend:
image: caddy:alpine
+1
Dockerfile
···
label org.opencontainers.image.licenses='MIT'
copy rootfs .
+
run chmod 755 /etc
run chmod -R 755 /etc/s6-overlay
run apk add shadow s6-overlay execline openssl openssh git curl bash
run useradd -d /home/git git && openssl rand -hex 16 | passwd --stdin git