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

Support db_type postgres for etherpad

parent 8a16d4be
Branches
No related tags found
1 merge request!22Support db_type postgres for etherpad
Pipeline #3159 passed
This commit is part of merge request !22. Comments created here will be created in the context of that merge request.
...@@ -16,10 +16,14 @@ ...@@ -16,10 +16,14 @@
"dbSettings": { "dbSettings": {
"user": "{{item.db_user}}", "user": "{{item.db_user}}",
"host": "localhost", "host": "localhost",
"port": 3306,
"password": "{{item.db_password}}", "password": "{{item.db_password}}",
"database": "{{item.name}}", "database": "{{item.db_name}}",
{% if item.db_type == "mysql" %}
"port": 3306,
"charset": "utf8mb4" "charset": "utf8mb4"
{% elif item.db_type == "postgres" %}
"port": 5432
{% endif %}
}, },
"defaultPadText" : "Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nGet involved with Etherpad at https:\/\/etherpad.org\n", "defaultPadText" : "Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nGet involved with Etherpad at https:\/\/etherpad.org\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment