diff --git a/pottwal.yml b/pottwal.yml index 585774c..b81ad9b 100644 --- a/pottwal.yml +++ b/pottwal.yml @@ -15,6 +15,7 @@ openhab_configuration_version: master uritools_host_port: 8080 + entities_validation_svc_host_port: 8082 roles: - role: docker_setup @@ -129,6 +130,24 @@ site_name: uritools.n39.eu proxy_port: "{{ uritools_host_port }}" + - name: Ensure container for entities validation service is running + docker_container: + name: entities_validation_svc + image: netz39/entities_validation_svc:v1.0.0 + pull: true + state: started + detach: yes + ports: + - "{{ entities_validation_svc_host_port }}:8080" + restart_policy: unless-stopped + + - name: Setup proxy site entities-validation.svc.n39.eu + include_role: + name: setup-http-site-proxy + vars: + site_name: entities-validation.svc.n39.eu + proxy_port: "{{ entities_validation_svc_host_port }}" + handlers: - name: restart mosquitto docker_container: