(i be traumatized) fixes knotguard options, along with some more config improvements and fixes in docker compose and dockerfile
ERROR
docker/Dockerfile
ERROR
docker/Dockerfile
Failed to calculate interdiff for this file.
ERROR
docker/docker-compose.yml
ERROR
docker/docker-compose.yml
Failed to calculate interdiff for this file.
ERROR
docker/rootfs/etc/ssh/sshd_config.d/tangled_sshd.conf
ERROR
docker/rootfs/etc/ssh/sshd_config.d/tangled_sshd.conf
Failed to calculate interdiff for this file.
NEW
docker/rootfs/etc/s6-overlay/scripts/keys-wrapper
NEW
docker/rootfs/etc/s6-overlay/scripts/keys-wrapper
···
···
1
+
#!/bin/sh
2
+
3
+
# Default values
4
+
INTERNAL_API=${KNOT_SERVER_INTERNAL_LISTEN_ADDR:-localhost:5444}
5
+
REPO_PATH=${KNOT_REPO_SCAN_PATH:-/home/git/repositories}
6
+
LOG_PATH="/tmp/knotguard.log"
7
+
8
+
# Execute the knot keys command
9
+
exec /usr/local/bin/knot keys \
10
+
-output authorized-keys \
11
+
-internal-api "http://${INTERNAL_API}" \
12
+
-git-dir "${REPO_PATH}" \
13
+
-log-path "${LOG_PATH}"