back interdiff of round #5 and #4

docker: fix config #198

closed
opened by knotbin.com targeting master from [deleted fork]: fix-docker

(i be traumatized) fixes knotguard options, along with some more config improvements and fixes in docker compose and dockerfile

files
docker
rootfs
etc
ssh
sshd_config.d
ERROR
docker/Dockerfile

Failed to calculate interdiff for this file.

REBASED
docker/docker-compose.yml

This patch was likely rebased, as context lines do not match.

NEW
docker/rootfs/etc/ssh/sshd_config.d/tangled_sshd.conf
···
PasswordAuthentication no
Match User git
-
AuthorizedKeysCommand /usr/local/bin/knot keys -o authorized-keys
AuthorizedKeysCommandUser nobody
···
PasswordAuthentication no
Match User git
+
AuthorizedKeysCommand /bin/sh -c '/usr/local/bin/knot keys -output authorized-keys -internal-api http://${KNOT_SERVER_INTERNAL_LISTEN_ADDR:-localhost:5444} -git-dir ${KNOT_REPO_SCAN_PATH:-/home/git/repositories} -log-path /tmp/knotguard.log'
AuthorizedKeysCommandUser nobody