forked from
tangled.org/knot-docker
Docker config for @recaptime.dev's Knot server on Hack Club Nest.
knot.hackclub.community
1services:
2 knot:
3 image: "registry.gitlab.com/recaptime-dev/infra/knot-server-docker"
4 pull_policy: always
5 build:
6 context: .
7 args:
8 UID: 2897
9 GID: 2897
10 env_file:
11 - .env.production
12 volumes:
13 - ./keys:/etc/ssh/keys
14 - knot-repos:/home/git/repositories
15 - knot-db:/app/db
16 ports:
17 - "44288:5555"
18 - "33939:22"
19 restart: always
20 #frontend:
21 # image: caddy:alpine
22 # command: >
23 # caddy
24 # reverse-proxy
25 # --from ${KNOT_SERVER_HOSTNAME}
26 # --to knot:5555
27 # depends_on:
28 # - knot
29 # ports:
30 # - ${KNOT_SERVER_PORT:-443}:443
31 # - ${KNOT_SERVER_PORT:-443}:443/udp
32 # volumes:
33 # - ./caddy_data:/data
34 # restart: always
35 # profiles: ["caddy"]
36
37volumes:
38 knot-db:
39 knot-repos: