- Translate panel UI (~500 strings) and all extraction/wiki prompts to English; rebrand to GODCALL (title, logo, login, header) - git-fetcher: allow http:// clone URLs behind KNOWLEDGE_ALLOW_HTTP=1 (tailnet Gitea) - MemoryCore/Dockerfile: drop-in image (upstream ships none) with TDAI_GATEWAY_CONFIG env + healthcheck; combined-hub Dockerfile: stock Debian mirrors; stub MemoryKnowledge openapi.yaml (absent upstream but COPYed) - start-memory-hub.sh: optional GIT_CREDENTIALS_FILE mount (keeps tokens out of repo URLs); tools/import-gitea.mjs: bulk CodeGraph import of all Gitea repos Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
32 lines
1002 B
Docker
32 lines
1002 B
Docker
# syntax=docker/dockerfile:1
|
|
# GODCALL memory-core — drop-in replacement for agentmemory/memory-core.
|
|
# Matches the upstream image contract exactly:
|
|
# WORKDIR /app, ENTRYPOINT tini, CMD node --import tsx src/gateway/server.ts
|
|
# config mounted at /data/config/tdai-gateway.yaml, data volume at /data/tdai-memory
|
|
#
|
|
# Build (from repo root):
|
|
# docker build -t godcall/memory-core:local -f MemoryCore/Dockerfile MemoryCore
|
|
|
|
FROM node:22-slim
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
python3 make g++ git ca-certificates tini curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json ./
|
|
RUN npm install --no-audit --no-fund
|
|
|
|
COPY . .
|
|
|
|
ENV NODE_ENV=production \
|
|
TDAI_GATEWAY_CONFIG=/data/config/tdai-gateway.yaml
|
|
EXPOSE 8420
|
|
|
|
HEALTHCHECK --interval=10s --timeout=5s --start-period=30s --retries=5 \
|
|
CMD curl -sf http://localhost:8420/health || exit 1
|
|
|
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
|
CMD ["node", "--import", "tsx", "src/gateway/server.ts"]
|