1services:
2 knot:
3 build: .
4 environment:
5 KNOT_SERVER_HOSTNAME: ${KNOT_SERVER_HOSTNAME}
6 KNOT_SERVER_OWNER: ${KNOT_SERVER_OWNER}
7 KNOT_SERVER_DB_PATH: /app/knotserver.db
8 KNOT_REPO_SCAN_PATH: /home/git/repositories
9 KNOT_SERVER_INTERNAL_LISTEN_ADDR: localhost:5444
10 volumes:
11 - knot-db:/app
12 - knot-keys:/etc/ssh/keys
13 - knot-repositories:/home/git/repositories
14 ports:
15 - "5555:5555"
16 - "22:22"
17 restart: always
18
19volumes:
20 knot-db:
21 knot-keys:
22 knot-repositories: