mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
17 lines
491 B
YAML
17 lines
491 B
YAML
version: "3.8"
|
|
services:
|
|
agent:
|
|
image: jenkins/inbound-agent:alpine-jdk21
|
|
init: true
|
|
container_name: docker-inbound-agent
|
|
volumes:
|
|
- ./data:/home/jenkins
|
|
- ./data/agent:/home/jenkins/agent
|
|
environment:
|
|
- JENKINS_URL=http://jenkins.easypi.duckdns.org:8080
|
|
- JENKINS_SECRET=***************************
|
|
- JENKINS_AGENT_NAME=docker-inbound-agent
|
|
- JENKINS_AGENT_WORKDIR=/home/jenkins/agent
|
|
- TZ=Etc/UTC
|
|
restart: unless-stopped
|