spring: cloud: consul: enabled: true host: consul.service.consul discovery: preferIpAddress: true tags: {{ consul_tags }} data: mongodb: uri: "mongodb://{{ mongodb.iam.user }}:{{ mongodb.iam.password }}@{{ mongodb.host }}:{{ mongodb.mongod_port }}/{{ mongodb.iam.db }}?replicaSet={{ mongod_replicaset_name }}&connectTimeoutMS={{ mongod_client_connect_timeout_ms }}" # should we fix some limit here ? spring.servlet.multipart.max-file-size: -1 spring.servlet.multipart.max-request-size: -1 server-identity: identityName: {{ vitamui_site_name }} identityRole: {{ vitamui_struct.vitamui_component }} identityServerId: 1 server: port: {{ vitamui_struct.port_service }} {% if vitamui_struct.secure|lower == "true" %} ssl: key-store: {{ vitamui_folder_conf }}/keystore_{{ vitamui_struct.package_name }}.jks key-store-password: {{ password_keystore }} key-password: {{ password_keystore }} trust-store: {{ vitamui_folder_conf }}/truststore_{{ vitamui_certificate_type }}.jks trust-store-password: {{ password_truststore }} client-auth: need {% endif %} tomcat: accesslog: enabled: "{{ vitamui_struct.jvm_log | lower }}" directory: "{{ vitamui_folder_log }}" management: server: port: {{ vitamui_struct.port_admin }} ssl: enabled: false clients: iam-internal: server-host: {{ vitamui.iam_internal.host }} server-port: {{ vitamui.iam_internal.port_service }} {% if vitamui.iam_internal.secure | lower == "true" %} secure: {{ vitamui.iam_internal.secure | lower }} ssl-configuration: keystore: key-path: {{ vitamui_folder_conf }}/keystore_{{ vitamui_struct.package_name }}.jks key-password: {{ password_keystore }} type: JKS truststore: key-path: {{ vitamui_folder_conf }}/truststore_{{ vitamui_certificate_type }}.jks key-password: {{ password_truststore }} hostname-verification: false {% endif %} logging: config: {{ vitamui_folder_conf }}/logback.xml level: fr.gouv.vitamui.ingest.internal.*: {{ vitamui_struct.log.vitamui_level }} fr.gouv.vitam.ingest.*: {{ vitamui_struct.log.vitamui_level }}