[ 
https://issues.apache.org/jira/browse/OAK-11416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914975#comment-17914975
 ] 

Manfred Baedke commented on OAK-11416:
--------------------------------------

Sample usage to be executed in oak-store-document: 
{code:java}
mvn clean install -Prdb-postgres -Dnsfixtures=DOCUMENT_RDB 
-Drdb.jdbc-url=jdbc:postgresql://localhost:5432/oak -Drdb.jdbc-user=postgres 
-Drdb.jdbc-passwd=geheim -Drdb.docker-image=postgres:17.2-alpine3.21 
-Drdb.docker-env='POSTGRES_DB=oak,POSTGRES_PASSWORD=geheim' 
-Dmax.jar.size=200000000 -Doak.skipMongo -Dtest=CacheConsistencyRDBTest {code}

> Docker support for oak-jcr tests with RdbDocumentStore needs a way to specify 
> environment variables for the container
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-11416
>                 URL: https://issues.apache.org/jira/browse/OAK-11416
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Manfred Baedke
>            Assignee: Manfred Baedke
>            Priority: Major
>             Fix For: 1.76.0
>
>
> Many DB server images are configurable using environment variables (e.g. 
> POSTGRES_PASSWORD specifies the system user's password on containers started 
> from one of the officially supported PostGres images). The TestContainer 
> framework supports this, but Oak doesn't yet.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to