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.
This commit is contained in:
Alexa
2026-10-25 01:21:07 +03:00
parent 3266ce47f3
commit 19402459a9
2 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -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 |
+2 -2
View File
@@ -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: