portainer: copy nginx conf

This commit is contained in:
Lukáš Kucharczyk 2021-06-20 23:26:54 +02:00
parent a2651e5f79
commit f07c3128e1
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 7 additions and 1 deletions

View File

@ -10,4 +10,10 @@
ports: ports:
- "8000:8000" - "8000:8000"
- "9000:9000" - "9000:9000"
state: started state: started
- name: copy nginx conf
template:
src: portainer.conf.j2
dest: "{{ data_folder }}/nginx/conf.d/{{ role_name }}.{{ base_domain }}.conf"
mode: "755"
notify: reload nginx