Add config_dir variable
This commit is contained in:
parent
a0357d3ad2
commit
05ea85f41f
|
@ -4,10 +4,11 @@ start_scopes: 'devNext'
|
||||||
infrastructure: 'gcube'
|
infrastructure: 'gcube'
|
||||||
complete_start_scope: '/gcube/devNext'
|
complete_start_scope: '/gcube/devNext'
|
||||||
gcore_host: 'node14-d-d4s.d4science.org'
|
gcore_host: 'node14-d-d4s.d4science.org'
|
||||||
|
config_dir: 'etc/is-registry-service'
|
||||||
is_registry_compose_dir: '/srv/is-registry_stack'
|
is_registry_compose_dir: '/srv/is-registry_stack'
|
||||||
is_registry_docker_stack_name: 'is-registry-stack'
|
is_registry_docker_stack_name: 'is-registry-stack'
|
||||||
is_registry_docker_service_server_name: 'is-registry'
|
is_registry_docker_service_server_name: 'is-registry'
|
||||||
is_registry_docker_server_image: 'd4science/gcore-is-registry'
|
is_registry_docker_server_image: 'd4science/gcore-is-registry:latest'
|
||||||
is_registry_docker_network: 'is-registry-network'
|
is_registry_docker_network: 'is-registry-network'
|
||||||
is_registry_service_port: 8080
|
is_registry_service_port: 8080
|
||||||
is_registry_haproxy_public_net: 'haproxy-public'
|
is_registry_haproxy_public_net: 'haproxy-public'
|
|
@ -1,2 +0,0 @@
|
||||||
---
|
|
||||||
# handlers file for is-registry
|
|
|
@ -47,9 +47,9 @@ galaxy_info:
|
||||||
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
|
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
|
||||||
# Maximum 20 tags per role.
|
# Maximum 20 tags per role.
|
||||||
|
|
||||||
dependencies:
|
dependencies: []
|
||||||
- name: python3-environment
|
# - name: python3-environment
|
||||||
src: git+https://gitea-s2i2s.isti.cnr.it/ISTI-ansible-roles/ansible-role-python3-environment.git
|
# src: git+https://gitea-s2i2s.isti.cnr.it/ISTI-ansible-roles/ansible-role-python3-environment.git
|
||||||
version: master
|
# version: master
|
||||||
state: latest
|
# state: latest
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@ secrets:
|
||||||
services:
|
services:
|
||||||
{{ is_registry_docker_service_server_name }}:
|
{{ is_registry_docker_service_server_name }}:
|
||||||
image: {{ is_registry_docker_server_image }}
|
image: {{ is_registry_docker_server_image }}
|
||||||
ports:
|
#ports:
|
||||||
- "{{ is_registry_service_port }}:{{ is_registry_service_port }}"
|
# - "{{ is_registry_service_port }}:{{ is_registry_service_port }}"
|
||||||
networks:
|
networks:
|
||||||
- {{ is_registry_docker_network }}
|
- {{ is_registry_docker_network }}
|
||||||
- {{ is_registry_haproxy_public_net }}
|
- {{ is_registry_haproxy_public_net }}
|
||||||
|
@ -34,7 +34,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
#endpoint_mode: dnsrr
|
endpoint_mode: dnsrr
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.role == manager]
|
constraints: [node.role == manager]
|
||||||
restart_policy:
|
restart_policy:
|
||||||
|
@ -42,5 +42,5 @@ services:
|
||||||
delay: 5s
|
delay: 5s
|
||||||
max_attempts: 5
|
max_attempts: 5
|
||||||
window: 120s
|
window: 120s
|
||||||
#logging:
|
logging:
|
||||||
# driver: 'journald'
|
driver: 'journald'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<service name="gcube/informationsystem/registry">
|
<service name="gcube/informationsystem/registry">
|
||||||
|
|
||||||
<environment name="configDir" value="@config.dir@" type="java.lang.String"
|
<environment name="configDir" value="{{ config_dir }}" type="java.lang.String"
|
||||||
override="false" />
|
override="false" />
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue