openfrontier / docker-gerrit

Build a Docker image with the Gerrit code review system
Apache License 2.0
196 stars 118 forks source link

External PostgreSQL SSL required #104

Closed novitoll closed 5 years ago

novitoll commented 6 years ago

Need to add the SSL=true condition, perhaps in JDBC

https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#database.url

novitoll commented 6 years ago
Upgrading gerrit...
fatal: DbInjector failed
fatal: Unable to determine SqlDialect
fatal:   caused by org.postgresql.util.PSQLException: FATAL: SSL connection is required. Please specify SSL options and retry.
thinkernel commented 5 years ago

The database.url option is supported. Let me know if it can solve your issue, please.

ohmerhe commented 5 years ago

Why not just support SSL config for database?

thinkernel commented 5 years ago

@ohmerhe If you can let me know your preferred setup on SSL database config, I can figure out how to support it.