back interdiff of round #2 and #1

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
guard
keyfetch
ERROR
docker/Dockerfile

Failed to calculate interdiff for this file.

REVERTED
docker/docker-compose.yml
···
KNOT_SERVER_SECRET: ${KNOT_SERVER_SECRET}
KNOT_SERVER_DB_PATH: "/app/knotserver.db"
KNOT_REPO_SCAN_PATH: "/home/git/repositories"
-
KNOT_SERVER_INTERNAL_LISTEN_ADDR: "localhost:5444"
volumes:
- "./keys:/etc/ssh/keys"
- "./repositories:/home/git/repositories"
- "./server:/app"
ports:
-
- "5555:5555"
- "2222:22"
-
restart: always
frontend:
image: caddy:2-alpine
command: >
···
depends_on:
- knot
ports:
+
- "443:443"
+
- "443:443/udp"
-
- "${KNOT_SERVER_PORT:-443}:443"
-
- "${KNOT_SERVER_PORT:-443}:443/udp"
volumes:
- caddy_data:/data
restart: always
+
volumes:
+
caddy_data:
-
profiles: ["caddy"]
ERROR
docker/rootfs/etc/ssh/sshd_config.d/tangled_sshd.conf

Failed to calculate interdiff for this file.

REVERTED
guard/guard.go
···
&cli.StringFlag{
Name: "internal-api",
Usage: "internal API endpoint",
+
Value: "http://localhost:5444",
-
Value: "http://localhost:5555",
},
},
}
REVERTED
keyfetch/keyfetch.go
···
&cli.StringFlag{
Name: "internal-api",
Usage: "internal API endpoint",
+
Value: "http://localhost:5444",
-
Value: "http://127.0.0.1:5444",
},
&cli.StringFlag{
Name: "git-dir",