ansible/playbooks/tasks/web/jenkins.yml
2022-01-22 09:48:47 -06:00

20 lines
535 B
YAML

# vim:ft=ansible:
- name: docker deploy jenkins
docker_container:
name: jenkins
image: jenkins/jenkins:jdk11
# Uncomment me for inbound agent connections
# Otherwise, use 8080 for the web UI
# ports:
# - 50000:50000
env:
JAVA_OPTS: "-Dhudson.footerURL=https://jenkins.desu.ltd"
networks:
- name: web
aliases: [ "jenkins" ]
volumes:
- /data/jenkins/home:/var/jenkins_home
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
tags: [ docker, jenkins ]