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
Обсуждение