1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/jenkins/agent/docker-compose.yml
2024-05-16 18:51:01 +08:00

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