Move the gateway to junior.gib: CI deploy, compose copy, renewal script, docs
Gateway / check (push) Successful in 7s
Gateway / image (push) Successful in 19s

This commit is contained in:
gib committed 2026-11-01 13:07:18 -05:00
1 parent 27469dbc77
commit f46c803ad4
7 files changed
+62 -47

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ WORKDIR /app
COPY package.json tsconfig.json ./
COPY src ./src
# `wristcode <command>` for operators: docker exec -it wristcode-gateway wristcode pair
# `wristcode <command>` for operators: podman exec -it wristcode-gateway wristcode pair
RUN printf '#!/bin/sh\nexec bun /app/src/cli.ts "$@"\n' > /usr/local/bin/wristcode \
&& chmod +x /usr/local/bin/wristcode \
&& mkdir -p /data && chown bun:bun /data
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bun
// Operator commands. They edit the same SQLite file the running gateway reads, so changes apply
// within a few seconds. In the container: `docker exec -it wristcode-gateway wristcode <command>`.
// within a few seconds. In the container: `podman exec -it wristcode-gateway wristcode <command>`.
import { loadConfig } from "./config.ts";
import { openDb } from "./db.ts";