entities validation service container eingebaut

This commit is contained in:
David Kilias 2021-04-21 17:47:45 +02:00 committed by Gitea
parent 24b49784f1
commit 37993c09c5

View file

@ -15,6 +15,7 @@
openhab_configuration_version: master
uritools_host_port: 8080
entites_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 entites validation service is running
docker_container:
name: entites_validation_svc
image: netz39/entites_validation_svc
pull: true
state: started
detach: yes
ports:
- "{{ entites_validation_svc_host_port }}:8080"
restart_policy: unless-stopped
- name: Setup proxy site validation.entities.n39.eu
include_role:
name: setup-http-site-proxy
vars:
site_name: validation.entities.n39.eu
proxy_port: "{{ entites_validation_svc_host_port }}"
handlers:
- name: restart mosquitto
docker_container: