mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 23:18:44 -07:00
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:
@@ -91,9 +91,10 @@ Save, open the node, and copy its **secret**.
|
|||||||
### 3. Deploy the agent on Coolify
|
### 3. Deploy the agent on Coolify
|
||||||
|
|
||||||
1. **Create a Docker Compose application** from this repository: build pack
|
1. **Create a Docker Compose application** from this repository: build pack
|
||||||
Docker Compose, base directory `/`, compose location
|
Docker Compose, base directory **`/ci/jenkins`**, compose location
|
||||||
`/ci/jenkins/docker-compose.yml`. It needs no domain. Under Advanced, turn
|
`/docker-compose.yml`. The base directory is the build context, so with
|
||||||
on **Connect to predefined network**.
|
`/` 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:**
|
2. **Set its environment:**
|
||||||
|
|
||||||
| Variable | Value |
|
| Variable | Value |
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# DorkNet build agent on Coolify. Deploy as a Docker Compose application from
|
# DorkNet build agent on Coolify. Deploy as a Docker Compose application from
|
||||||
# this repository with compose location /ci/jenkins/docker-compose.yml and
|
# this repository with base directory /ci/jenkins, compose location
|
||||||
# "Connect to predefined network" on. It needs no domain: it dials out to
|
# /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
|
# Jenkins over WebSocket on Docker's internal network. Set the variables in
|
||||||
# the resource's Environment Variables; see ci/jenkins/README.md.
|
# the resource's Environment Variables; see ci/jenkins/README.md.
|
||||||
services:
|
services:
|
||||||
|
|||||||
Reference in New Issue
Block a user