config for my tngl knot/repo server
1services:
2 knot:
3 build: .
4 env_file: knot.env
5 volumes:
6 - ./keys:/etc/ssh/keys
7 - ./repositories:/home/git/repositories
8 - ./server:/app
9 ports:
10 - "5555:5555"
11 - "2224:22"
12 restart: always
13 frontend:
14 image: caddy:alpine
15 depends_on:
16 - knot
17 ports:
18 - ${KNOT_SERVER_PORT:-443}:443
19 - ${KNOT_SERVER_PORT:-443}:443/udp
20 volumes:
21 - ./caddy_data:/data
22 - ./Caddyfile:/etc/caddy/Caddyfile
23 - ./caddy:/var/www/moirai/caddy
24 restart: always
25 profiles: ["caddy"]