Skip to content
Snippets Groups Projects

Support db_type postgres for etherpad

Merged Robin Sonnabend requested to merge etherpad-postgres into master
1 file
+ 6
2
Compare changes
  • Side-by-side
  • Inline
@@ -16,10 +16,14 @@
"dbSettings": {
"user": "{{item.db_user}}",
"host": "localhost",
"port": 3306,
"password": "{{item.db_password}}",
"database": "{{item.name}}",
"database": "{{item.db_name}}",
{% if item.db_type == "mysql" %}
"port": {{item.db_port|default(3306)}},
"charset": "utf8mb4"
{% elif item.db_type == "postgres" %}
"port": {{item.db_port|default(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",
Loading