[[ 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






Обсуждение

Ваш комментарий. Вики-синтаксис разрешён:
139 +14 =
 
practice/jenkins/jenkins_docker_compose.txt · Последние изменения: 2020/03/19 15:17 — lexa
Gentoo Linux Gentoo Linux Driven by DokuWiki