diff --git a/pottwal.yml b/pottwal.yml index 0fdd72e..ef97f95 100644 --- a/pottwal.yml +++ b/pottwal.yml @@ -13,6 +13,8 @@ openhab_configuration_source: https://github.com/netz39/n39-openhab.git openhab_configuration_version: master + uritools_host_port: 8080 + roles: - role: docker_setup vars: @@ -110,6 +112,24 @@ site_name: openhab.n39.eu proxy_port: "{{ openhab_host_port }}" + - name: Ensure container for URI tools is running + docker_container: + name: uritools + image: mrtux/clean_uri + pull: true + state: started + detach: yes + ports: + - "{{ uritools_host_port }}:8080" + restart_policy: unless-stopped + + - name: Setup proxy site uritools.n39.eu + include_role: + name: setup-http-site-proxy + vars: + site_name: uritools.n39.eu + proxy_port: "{{ uritools_host_port }}" + handlers: - name: restart openhab docker_container: