owncloud-docker / base

Base image for the ownCloud stack
MIT License
29 stars 27 forks source link

No support for SSL/TLS in database connections #141

Open JonathanWilbur opened 3 years ago

JonathanWilbur commented 3 years ago

I cannot use remote databases with this currently, but I believe this would be easy to add by introducing a few new environment variables, like:

etc.

xoxys commented 2 years ago

@wkloucek Do you have an idea how to reflect settings like https://github.com/owncloud/core/blob/master/config/config.sample.php#L1282 using docker env variables?

Looks like the PDO config works completely different for mysl and postgres what makes it even harder...

wkloucek commented 2 years ago

Looks like config is pretty broken in that point:

We could use OWNCLOUD_DB_TYPE to render different config options with gomplate to a database.config.php config file!? Looks pretty ugly though...