diff --git a/roles/is-collector/templates/docker-compose.yml.j2 b/roles/is-collector/templates/docker-compose.yml.j2 index 3fff575..1478bb9 100644 --- a/roles/is-collector/templates/docker-compose.yml.j2 +++ b/roles/is-collector/templates/docker-compose.yml.j2 @@ -39,24 +39,29 @@ services: secrets: - source: {{ service_prefix }}-ghn-config-{{ scope_name }} target: /home/gcube/gCore/config/GHNConfig.xml - gid: 333 + uid: "333" + gid: "333" mode: 0440 - source: {{ service_prefix }}-jndi-config-{{ scope_name }} target: /home/gcube/gCore/etc/is-collector-service/jndi-config.xml - gid: 333 + uid: "333" + gid: "333" mode: 0440 - source: {{ service_prefix }}-server-config-{{ scope_name }} target: /home/gcube/gCore/etc/globus_wsrf_core/server-config.wsdd - gid: 333 + uid: "333" + gid: "333" mode: 0440 - source: gcube-dev-legacy-security-key target: /home/gcube/gCore/config/symm.key - gid: 333 + uid: "333" + gid: "333" mode: 0440 {% for item in gcube_dev_security_keys %} - source: {{ item.name }} target: /home/gcube/gCore/config/{{ item.name }} - gid: 333 + uid: "333" + gid: "333" mode: 0440 {% endfor %} deploy: diff --git a/roles/is-registry/templates/docker-compose.yml.j2 b/roles/is-registry/templates/docker-compose.yml.j2 index 84a2be4..ad2ba83 100644 --- a/roles/is-registry/templates/docker-compose.yml.j2 +++ b/roles/is-registry/templates/docker-compose.yml.j2 @@ -28,24 +28,29 @@ services: secrets: - source: ghn-config-{{ scope_name }} target: /home/gcube/gCore/config/GHNConfig.xml - gid: 333 + uid: "333" + gid: "333" mode: 0440 - source: jndi-config-{{ scope_name }} target: /home/gcube/gCore/etc/is-registry-service/jndi-config.xml - gid: 333 + uid: "333" + gid: "333" mode: 0440 - source: server-config-{{ scope_name }} target: /home/gcube/gCore/etc/globus_wsrf_core/server-config.wsdd - gid: 333 + uid: "333" + gid: "333" mode: 0440 - source: gcube-dev-legacy-security-key target: /home/gcube/gCore/config/symm.key - gid: 333 + uid: "333" + gid: "333" mode: 0440 {% for item in gcube_dev_security_keys %} - source: {{ item.name }} target: /home/gcube/gCore/config/{{ item.name }} - gid: 333 + uid: "333" + gid: "333" mode: 0440 {% endfor %} deploy: