computer-playbook/roles/docker-jenkins/tasks/main.yml

16 lines
433 B
YAML
Raw Normal View History

- name: "include tasks nginx-docker-proxy-domain.yml"
include_tasks: nginx-docker-proxy-domain.yml
2020-12-24 14:27:31 +01:00
- name: "docker jenkins"
docker_compose:
project_name: jenkins
definition:
application:
image: jenkins/jenkins:lts
restart: "{{docker_restart_policy}}"
2020-12-24 14:27:31 +01:00
ports:
2020-12-27 23:12:09 +01:00
- "127.0.0.1:{{http_port}}:8080"
2020-12-24 14:27:31 +01:00
volumes:
- jenkins_data:/var/jenkins_home
2020-12-31 15:50:05 +01:00
log_driver: journald