Skip to content

Keep container running for as long as JVM is running #359

@inikolaev

Description

@inikolaev

I would like to use JDBC test container as a development database, but unfortunately JDBC container shuts down as soon as all connections are closed (

).

I would like to propose an option which could be specified in JDBC connection string to prevent container from stopping. It could be named TC_DAEMON and here's how I would like to use it:

jdbc:tc:postgresql://localhost?TC_DAEMON=true

Let me know what you think. I could work on a PR to implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions