Docker config for @recaptime.dev's Knot server on Hack Club Nest. knot.hackclub.community
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: update README and seperate config to .env.production file

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

+21 -6
+9
.env.production
··· 1 + # Knot production configuration 2 + # DO NOT LEAK SECRETS HERE! 3 + KNOT_SERVER_HOSTNAME="knot.hackclub.community" 4 + KNOT_SERVER_OWNER="did:plc:i5m7ags2eqs5zras4cg2xkll" 5 + KNOT_SERVER_DB_PATH=/app/db/knotserver.db 6 + KNOT_REPO_SCAN_PATH=/home/git/repositories 7 + KNOT_SERVER_INTERNAL_LISTEN_ADDR=localhost:5444 8 + KNOT_GIT_USER_NAME=Tangled 9 + KNOT_GIT_USER_EMAIL=tangled@knot.hackclub.community
+2 -6
docker-compose.yml
··· 7 7 args: 8 8 UID: 2897 9 9 GID: 2897 10 - environment: 11 - KNOT_SERVER_HOSTNAME: "knot.hackclub.community" 12 - KNOT_SERVER_OWNER: "did:plc:i5m7ags2eqs5zras4cg2xkll" 13 - KNOT_SERVER_DB_PATH: /app/knotserver.db 14 - KNOT_REPO_SCAN_PATH: /home/git/repositories 15 - KNOT_SERVER_INTERNAL_LISTEN_ADDR: localhost:5444 10 + env_file: 11 + - .env.production 16 12 volumes: 17 13 - ./keys:/etc/ssh/keys 18 14 - ./repositories:/home/git/repositories
+10
readme.md
··· 1 1 # RecapTime.dev Knot Server on Nest 2 2 3 + [![pipeline status](https://gitlab.com/recaptime-dev/infra/knot-server-docker/badges/main/pipeline.svg)](https://gitlab.com/recaptime-dev/infra/knot-server-docker/pipelines) 4 + [![Hack Club](https://badges.api.lorebooks.wiki/badges/hackclub/hackclub)](https://hackclub.com) 5 + 3 6 This is a knot server that Recap Time Squad uses to host our Git repositories on 4 7 [Tangled](https://tangled.org), hosted on [Nest](https://hackclub.app) for the 5 8 Hack Club community. ··· 15 18 # directly with Nest's hostname (since it's just a CNAME DNS record) 16 19 git remote add origin ssh://git@hackclub.app:33939/handle.host.tld/repo 17 20 ``` 21 + 22 + ### Infrastructure Operations 23 + 24 + * Image CI builds happen via GitLab CI: <https://gitlab.com/recaptime-dev/infra/knot-server-docker/pipelines> 25 + * [View our GitLab CI config](./.gitlab-ci.yaml) 26 + * [View tags on GitLab Container Registry](https://gitlab.com/recaptime-dev/infra/knot-server-docker/container_registry/9481789) 27 + * Run using built images after `ssh recaptime-dev@hackclub.app`: `<docker|podman> compose up --no-build --force-recreate` 18 28 19 29 ## Requesting access 20 30