Skip to content

Commit

Permalink
Manage: Make the SSL connection to Mongo optional, usefull in docker …
Browse files Browse the repository at this point in the history
…scenarios
  • Loading branch information
quartje committed Dec 17, 2024
1 parent 97e5749 commit 5d82362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/manage/templates/application.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spring:
port: 25
data:
mongodb:
uri: mongodb://{{ manage.mongo_user }}:{{ manage.mongo_password }}@{% for host in groups['mongo_servers'] %}{{ hostvars[host]['inventory_hostname'] }}:{{ manage.mongo_port }}{% if not loop.last %},{% endif %}{% endfor %}/{{ manage.mongo_database }}?ssl=true
uri: mongodb://{{ manage.mongo_user }}:{{ manage.mongo_password }}@{% for host in groups['mongo_servers'] %}{{ hostvars[host]['inventory_hostname'] }}:{{ manage.mongo_port }}{% if not loop.last %},{% endif %}{% endfor %}/{{ manage.mongo_database }}?ssl={{ mongodb_ssl | default('true') }}
datasource:
url: jdbc:mysql://{{ pdp.db_host }}/{{ pdp.db_name }}?permitMysqlScheme
username: {{ pdp.db_user }}
Expand Down

0 comments on commit 5d82362

Please sign in to comment.