rename stuff

This commit is contained in:
2026-07-16 21:37:11 +02:00
parent 3fa0206faa
commit fbee954842
+4 -2
View File
@@ -11,6 +11,7 @@ x-common: &common
CI_AGENT_BOT_LOGIN: ${CI_AGENT_BOT_LOGIN:?Set CI_AGENT_BOT_LOGIN in .env} CI_AGENT_BOT_LOGIN: ${CI_AGENT_BOT_LOGIN:?Set CI_AGENT_BOT_LOGIN in .env}
CI_AGENT_ALLOWED_ACTOR_IDS: ${CI_AGENT_ALLOWED_ACTOR_IDS:-} CI_AGENT_ALLOWED_ACTOR_IDS: ${CI_AGENT_ALLOWED_ACTOR_IDS:-}
CI_AGENT_ALLOWED_ACTORS: ${CI_AGENT_ALLOWED_ACTORS:-} CI_AGENT_ALLOWED_ACTORS: ${CI_AGENT_ALLOWED_ACTORS:-}
CI_AGENT_ALLOW_INSECURE_HTTP: true
AGENT_DB_PATH: /var/lib/gitea-agent/state/agent.db AGENT_DB_PATH: /var/lib/gitea-agent/state/agent.db
AGENT_WORKSPACE_ROOT: /var/lib/gitea-agent/workspaces AGENT_WORKSPACE_ROOT: /var/lib/gitea-agent/workspaces
volumes: volumes:
@@ -20,13 +21,14 @@ x-common: &common
- /tmp:rw,nosuid,nodev,mode=1777 - /tmp:rw,nosuid,nodev,mode=1777
services: services:
controller: gitea-webhook-host:
<<: *common <<: *common
build: build:
context: .. context: ..
dockerfile: deploy/Dockerfile dockerfile: deploy/Dockerfile
target: controller target: controller
image: ${AGENT_CONTROLLER_IMAGE:-gitea-agent-controller:2.0.0} image: ${AGENT_CONTROLLER_IMAGE:-gitea-agent-controller:2.0.0}
container_name: gitea-webhook-host
environment: environment:
<<: *common-environment <<: *common-environment
AGENT_HTTP_HOST: 0.0.0.0 AGENT_HTTP_HOST: 0.0.0.0
@@ -68,7 +70,7 @@ services:
- ${OPENCODE_DATA_DIR:-./state/opencode}:/var/lib/opencode-agent/data - ${OPENCODE_DATA_DIR:-./state/opencode}:/var/lib/opencode-agent/data
- ${CACHE_DIR:-./state/cache}:/var/lib/opencode-agent/cache - ${CACHE_DIR:-./state/cache}:/var/lib/opencode-agent/cache
depends_on: depends_on:
controller: gitea-webhook-host:
condition: service_healthy condition: service_healthy
secrets: secrets: