Archived
rename stuff
This commit is contained in:
+4
-2
@@ -11,6 +11,7 @@ x-common: &common
|
||||
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_ACTORS: ${CI_AGENT_ALLOWED_ACTORS:-}
|
||||
CI_AGENT_ALLOW_INSECURE_HTTP: true
|
||||
AGENT_DB_PATH: /var/lib/gitea-agent/state/agent.db
|
||||
AGENT_WORKSPACE_ROOT: /var/lib/gitea-agent/workspaces
|
||||
volumes:
|
||||
@@ -20,13 +21,14 @@ x-common: &common
|
||||
- /tmp:rw,nosuid,nodev,mode=1777
|
||||
|
||||
services:
|
||||
controller:
|
||||
gitea-webhook-host:
|
||||
<<: *common
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: deploy/Dockerfile
|
||||
target: controller
|
||||
image: ${AGENT_CONTROLLER_IMAGE:-gitea-agent-controller:2.0.0}
|
||||
container_name: gitea-webhook-host
|
||||
environment:
|
||||
<<: *common-environment
|
||||
AGENT_HTTP_HOST: 0.0.0.0
|
||||
@@ -68,7 +70,7 @@ services:
|
||||
- ${OPENCODE_DATA_DIR:-./state/opencode}:/var/lib/opencode-agent/data
|
||||
- ${CACHE_DIR:-./state/cache}:/var/lib/opencode-agent/cache
|
||||
depends_on:
|
||||
controller:
|
||||
gitea-webhook-host:
|
||||
condition: service_healthy
|
||||
|
||||
secrets:
|
||||
|
||||
Reference in New Issue
Block a user