Archived
update compose and opencode
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
deploy/.env
|
deploy/.env
|
||||||
deploy/secrets/
|
deploy/secrets/
|
||||||
deploy/state/
|
deploy/state/
|
||||||
|
deploy/volume/
|
||||||
app/dist/
|
app/dist/
|
||||||
app/node_modules/
|
app/node_modules/
|
||||||
dist/
|
dist/
|
||||||
|
|||||||
+1
-1
@@ -43,7 +43,7 @@ CMD ["node", "/opt/ci-agents/dist/application/controller/main.js"]
|
|||||||
|
|
||||||
FROM runtime AS executor
|
FROM runtime AS executor
|
||||||
ARG TARGETARCH=amd64
|
ARG TARGETARCH=amd64
|
||||||
ARG OPENCODE_VERSION=1.17.18
|
ARG OPENCODE_VERSION=1.18.2
|
||||||
ARG GITEA_MCP_VERSION=1.3.0
|
ARG GITEA_MCP_VERSION=1.3.0
|
||||||
USER root
|
USER root
|
||||||
RUN npm install --global --omit=dev "opencode-ai@${OPENCODE_VERSION}" \
|
RUN npm install --global --omit=dev "opencode-ai@${OPENCODE_VERSION}" \
|
||||||
|
|||||||
+6
-2
@@ -44,8 +44,8 @@ services:
|
|||||||
uid: "10001"
|
uid: "10001"
|
||||||
gid: "10001"
|
gid: "10001"
|
||||||
mode: 0400
|
mode: 0400
|
||||||
ports:
|
networks:
|
||||||
- "${AGENT_LISTEN_ADDRESS:-127.0.0.1}:${AGENT_HTTP_PORT:-8080}:8080"
|
- gitea-common
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:8080/readyz').then(r=>{if(!r.ok)process.exit(1)})"]
|
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:8080/readyz').then(r=>{if(!r.ok)process.exit(1)})"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@@ -86,3 +86,7 @@ secrets:
|
|||||||
file: ${GITEA_READ_TOKEN_FILE:-./secrets/gitea-read-token}
|
file: ${GITEA_READ_TOKEN_FILE:-./secrets/gitea-read-token}
|
||||||
gitea_webhook_secret:
|
gitea_webhook_secret:
|
||||||
file: ${GITEA_WEBHOOK_SECRET_FILE:-./secrets/gitea-webhook-secret}
|
file: ${GITEA_WEBHOOK_SECRET_FILE:-./secrets/gitea-webhook-secret}
|
||||||
|
|
||||||
|
networks:
|
||||||
|
gitea-common:
|
||||||
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user