forked from Netz39_Admin/netz39-infra-ansible
entities validation service container eingebaut
This commit is contained in:
parent
24b49784f1
commit
37993c09c5
1 changed files with 19 additions and 0 deletions
19
pottwal.yml
19
pottwal.yml
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue