From 19402459a9827b8c4785a7fa70f2cff69dc57e9a Mon Sep 17 00:00:00 2001 From: Alexa <53471801+Alexa-RR@users.noreply.github.com> Date: Sun, 25 Oct 2026 01:21:07 +0300 Subject: [PATCH] ci: deploy the agent with base directory ci/jenkins The base directory is the compose build context; from the repo root the build used the server's Dockerfile instead of ci/jenkins/Dockerfile. --- ci/jenkins/README.md | 7 ++++--- ci/jenkins/docker-compose.yml | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ci/jenkins/README.md b/ci/jenkins/README.md index 47de6ea..1970e8d 100644 --- a/ci/jenkins/README.md +++ b/ci/jenkins/README.md @@ -91,9 +91,10 @@ Save, open the node, and copy its **secret**. ### 3. Deploy the agent on Coolify 1. **Create a Docker Compose application** from this repository: build pack - Docker Compose, base directory `/`, compose location - `/ci/jenkins/docker-compose.yml`. It needs no domain. Under Advanced, turn - on **Connect to predefined network**. + Docker Compose, base directory **`/ci/jenkins`**, compose location + `/docker-compose.yml`. The base directory is the build context, so with + `/` the build would pick up the server's `Dockerfile` at the repo root. It + needs no domain. Under Advanced, turn on **Connect to predefined network**. 2. **Set its environment:** | Variable | Value | diff --git a/ci/jenkins/docker-compose.yml b/ci/jenkins/docker-compose.yml index c5d0707..eea0283 100644 --- a/ci/jenkins/docker-compose.yml +++ b/ci/jenkins/docker-compose.yml @@ -1,6 +1,6 @@ # DorkNet build agent on Coolify. Deploy as a Docker Compose application from -# this repository with compose location /ci/jenkins/docker-compose.yml and -# "Connect to predefined network" on. It needs no domain: it dials out to +# this repository with base directory /ci/jenkins, compose location +# /docker-compose.yml and "Connect to predefined network" on. It needs no domain: it dials out to # Jenkins over WebSocket on Docker's internal network. Set the variables in # the resource's Environment Variables; see ci/jenkins/README.md. services: