Skip to content
Snippets Groups Projects
Commit 730cfbae authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Allow configuring db_port for etherpad DB

parent 44746baf
No related branches found
No related tags found
1 merge request!22Support db_type postgres for etherpad
Pipeline #3162 passed
This commit is part of merge request !22. Comments created here will be created in the context of that merge request.
......@@ -19,10 +19,10 @@
"password": "{{item.db_password}}",
"database": "{{item.db_name}}",
{% if item.db_type == "mysql" %}
"port": 3306,
"port": {{item.db_port|default(3306)}},
"charset": "utf8mb4"
{% elif item.db_type == "postgres" %}
"port": 5432
"port": {{item.db_port|default(5432)}}
{% endif %}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment