[[ Jenkins in Docker ]]

DockerJenkins

Jenkins in Docker

docker-compose.yml

---
version: '2.2'

services:
  jenkins:
    image: jenkins/jenkins:lts
    container_name: jenkins
    restart: unless-stopped
    ports:
      - 8081:8080
      - 50000:50000
    volumes:
      - /srv/jenkins/jenkins_home:/var/jenkins_home
    environment:
      - JAVA_OPTS="-Duser.timezone=Europe/Moscow"
    logging:
      driver: "json-file"
      options:
        max-size: "8m"

docker-compose up -d






Обсуждение

Ваш комментарий. Вики-синтаксис разрешён:
130 -14᠎ = 
 
practice/jenkins/jenkins_docker_compose.txt · Последнее изменение: 2022/08/31 14:53 — 127.0.0.1
Gentoo Linux Gentoo Linux Driven by DokuWiki