Add config_dir variable
This commit is contained in:
parent
a0357d3ad2
commit
05ea85f41f
|
@ -4,10 +4,11 @@ start_scopes: 'devNext'
|
|||
infrastructure: 'gcube'
|
||||
complete_start_scope: '/gcube/devNext'
|
||||
gcore_host: 'node14-d-d4s.d4science.org'
|
||||
config_dir: 'etc/is-registry-service'
|
||||
is_registry_compose_dir: '/srv/is-registry_stack'
|
||||
is_registry_docker_stack_name: 'is-registry-stack'
|
||||
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_service_port: 8080
|
||||
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.
|
||||
# Maximum 20 tags per role.
|
||||
|
||||
dependencies:
|
||||
- name: python3-environment
|
||||
src: git+https://gitea-s2i2s.isti.cnr.it/ISTI-ansible-roles/ansible-role-python3-environment.git
|
||||
version: master
|
||||
state: latest
|
||||
dependencies: []
|
||||
# - name: python3-environment
|
||||
# src: git+https://gitea-s2i2s.isti.cnr.it/ISTI-ansible-roles/ansible-role-python3-environment.git
|
||||
# version: master
|
||||
# state: latest
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ secrets:
|
|||
services:
|
||||
{{ is_registry_docker_service_server_name }}:
|
||||
image: {{ is_registry_docker_server_image }}
|
||||
ports:
|
||||
- "{{ is_registry_service_port }}:{{ is_registry_service_port }}"
|
||||
#ports:
|
||||
# - "{{ is_registry_service_port }}:{{ is_registry_service_port }}"
|
||||
networks:
|
||||
- {{ is_registry_docker_network }}
|
||||
- {{ is_registry_haproxy_public_net }}
|
||||
|
@ -34,7 +34,7 @@ services:
|
|||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
#endpoint_mode: dnsrr
|
||||
endpoint_mode: dnsrr
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
restart_policy:
|
||||
|
@ -42,5 +42,5 @@ services:
|
|||
delay: 5s
|
||||
max_attempts: 5
|
||||
window: 120s
|
||||
#logging:
|
||||
# driver: 'journald'
|
||||
logging:
|
||||
driver: 'journald'
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<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" />
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue