forked from Netz39_Admin/netz39-infra-ansible
Merge pull request 'entities-validation-service' (#13) from dkdent/netz39-infra-ansible:entities-validation-service into master
This commit is contained in:
commit
1846a6723f
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
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue