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: