Add the usaco service and its /usaco/ route
The USACO practice log from the usaco repo's site/: one container, git as its store (a clone in ./usaco-data), behind nginx with the prefix kept, like /jobs/. Gitea may now deliver webhooks to it by name. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -217,6 +217,19 @@ PYTHON_PORT=8000
|
||||
# `docker compose pull jobs && docker compose up -d jobs`.
|
||||
JOBS_IMAGE_TAG=
|
||||
|
||||
# --- USACO site (/usaco/) ------------------------------------------------------
|
||||
# An image built and published by the usaco repo's CI. Blank runs :latest; set
|
||||
# a commit sha to pin. Changing it needs
|
||||
# `docker compose pull usaco && docker compose up -d usaco`.
|
||||
USACO_IMAGE_TAG=
|
||||
# Gitea access token (repository: read and write on adamf/usaco). The site
|
||||
# clones with it and pushes the admin's edits back.
|
||||
USACO_GIT_TOKEN=
|
||||
# Shared secret of the usaco repo's push webhook in Gitea
|
||||
# (http://usaco:8080/usaco/api/hooks/gitea). Blank turns the hook off and
|
||||
# the site only pulls every 10 minutes. Generate with `openssl rand -hex 32`.
|
||||
USACO_WEBHOOK_SECRET=
|
||||
|
||||
# --- Activity tracker (/tracker/) --------------------------------------------
|
||||
# An image built and published by the ccp repo's CI. Blank runs :latest; set a
|
||||
# commit sha to pin. Changing it needs
|
||||
|
||||
Reference in New Issue
Block a user