Deploy a dokku

This commit is contained in:
Jake Howard
2023-10-01 16:25:20 +01:00
parent b02be4e77a
commit a54a91ea44
14 changed files with 149 additions and 0 deletions

View File

@ -47,6 +47,8 @@
dest: /opt/traefik/traefik/traefik.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
lstrip_blocks: true
trim_blocks: true
notify: restart traefik
become: true
@ -89,6 +91,16 @@
when: traefik_provider_grafana
become: true
- name: Install dokku provider
template:
src: files/file-provider-dokku.yml
dest: /opt/traefik/traefik/conf/dokku.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
notify: restart traefik
when: traefik_provider_dokku
become: true
- name: logrotate config
template:
src: files/logrotate.conf