Merge pull request 'entities-validation-service' (#13) from dkdent/netz39-infra-ansible:entities-validation-service into master

This commit is contained in:
Stefan Haun 2021-04-21 22:23:47 +00:00
commit 1846a6723f

View file

@ -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: