Integrate Nextcloud and Traefik into Dockerbox

This commit is contained in:
2020-07-18 01:58:57 -04:00
parent 801fd357d6
commit b80bc110c3
5 changed files with 51 additions and 12 deletions

View File

View File

@@ -33,7 +33,13 @@
state: started
restart_policy: always
ports:
- 8080:8080
- 50000:50000
volumes:
- /home/{{ docker_user }}/jenkins:/var/jenkins_home
volumes: "/home/{{ docker_user }}/jenkins:/var/jenkins_home"
networks_cli_compatible: true
networks:
- name: traefik
labels:
traefik.http.routers.jenkins.rule: "Host(`{{ jenkins_domain }}`)"
traefik.http.routers.jenkins.entrypoints: websecure
traefik.docker.network: traefik
traefik.enable: "true"