this repo has no description

My config + new KNOT_SERVER_OWNER env

Changed files
+11 -21
+1
.gitignore
···
+
.env
+10 -21
docker-compose.yml
···
build: .
environment:
KNOT_SERVER_HOSTNAME: ${KNOT_SERVER_HOSTNAME}
-
KNOT_SERVER_SECRET: ${KNOT_SERVER_SECRET}
+
KNOT_SERVER_OWNER: ${KNOT_SERVER_OWNER}
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
+
- knot-db:/app
+
- knot-keys:/etc/ssh/keys
+
- knot-repositories:/home/git/repositories
ports:
- "5555:5555"
-
- "2222:22"
+
- "22:22"
restart: always
-
frontend:
-
image: caddy:alpine
-
command: >
-
caddy
-
reverse-proxy
-
--from ${KNOT_SERVER_HOSTNAME}
-
--to knot:5555
-
depends_on:
-
- knot
-
ports:
-
- ${KNOT_SERVER_PORT:-443}:443
-
- ${KNOT_SERVER_PORT:-443}:443/udp
-
volumes:
-
- caddy_data:/data
-
restart: always
-
profiles: ["caddy"]
+
+
volumes:
+
knot-db:
+
knot-keys:
+
knot-repositories: