gvenzl / oci-oracle-free

Build scripts for Oracle Database FREE container/docker images
Apache License 2.0
130 stars 35 forks source link

Provide a way to pass list of parameters to change in an environment variable #52

Closed loiclefevre closed 5 days ago

loiclefevre commented 3 months ago

This would be helpful to have an environment variable that could be used to configure database parameters (of course a restart would then occur):

Even the listener could be considered:

gvenzl commented 5 days ago

Thanks @loiclefevre,

I'm quite hesitant to implement such a requirement as there are numerous parameters that, when set to an invalid value, will prevent the database from starting up and subsequently kill the container immediately.

A better approach might be to provide a set of setup scripts that can be mounted into the /container-entrypoint-initdb.d facility. Such scripts would also automatically take care of the order of the steps executed, or parameters set.

loiclefevre commented 5 days ago

Thanks, will do that!