2023-10-03 16:32:13 +02:00
|
|
|
|
version: '3.6'
|
|
|
|
|
|
|
|
|
|
networks:
|
2023-10-06 12:21:36 +02:00
|
|
|
|
{{ is_registry_docker_network }}:
|
|
|
|
|
{{ is_registry_haproxy_public_net }}:
|
|
|
|
|
# external: true
|
2023-10-03 16:32:13 +02:00
|
|
|
|
|
|
|
|
|
secrets:
|
|
|
|
|
ghn-config:
|
|
|
|
|
external: true
|
|
|
|
|
jndi-config:
|
|
|
|
|
external: true
|
|
|
|
|
server-config:
|
|
|
|
|
external: true
|
|
|
|
|
|
|
|
|
|
services:
|
2023-10-06 12:21:36 +02:00
|
|
|
|
{{ is_registry_docker_service_server_name }}:
|
|
|
|
|
image: {{ is_registry_docker_server_image }}
|
2023-10-03 16:32:13 +02:00
|
|
|
|
ports:
|
2023-10-06 12:21:36 +02:00
|
|
|
|
- "{{ is_registry_service_port }}:{{ is_registry_service_port }}"
|
2023-10-03 16:32:13 +02:00
|
|
|
|
networks:
|
2023-10-06 12:21:36 +02:00
|
|
|
|
- {{ is_registry_docker_network }}
|
|
|
|
|
- {{ is_registry_haproxy_public_net }}
|
2023-10-03 16:32:13 +02:00
|
|
|
|
secrets:
|
|
|
|
|
- source: ghn-config
|
|
|
|
|
target: /home/gcube/gCore/config/GHNConfig.xml
|
|
|
|
|
mode: 0444
|
|
|
|
|
- source: jndi-config
|
|
|
|
|
target: /home/gcube/gCore/etc/is-registry-service/jndi-config.xml
|
|
|
|
|
mode: 0444
|
|
|
|
|
- source: server-config
|
|
|
|
|
target: /home/gcube/gCore/etc/globus_wsrf_core/server-config.wsdd
|
|
|
|
|
mode: 0444
|
|
|
|
|
deploy:
|
|
|
|
|
mode: replicated
|
|
|
|
|
replicas: 1
|
|
|
|
|
#endpoint_mode: dnsrr
|
|
|
|
|
placement:
|
|
|
|
|
constraints: [node.role == manager]
|
|
|
|
|
restart_policy:
|
|
|
|
|
condition: on-failure
|
|
|
|
|
delay: 5s
|
|
|
|
|
max_attempts: 5
|
|
|
|
|
window: 120s
|
|
|
|
|
#logging:
|
|
|
|
|
# driver: 'journald'
|