Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding more configuration options to PostgresSQLContainer #70

Merged

Conversation

rgba
Copy link
Contributor

@rgba rgba commented Aug 28, 2019

This PR contains the following:

  • added options to specify postgres database configuration for
    databaseName, username and password, which can now be defined when
    instantiating a new container

  • added configuration option mountPostgresDataToTmpfs, which allows to
    mount the postgres data directory (/var/lib/postgresql/data) inside
    the docker container to an in-memory volume for improved performance
    (see possibility to run containers with fsync=off testcontainers-java#1256)

mmayerhofer added 2 commits August 28, 2019 11:28
- added options to specify postgres database configuration for
  databaseName, username and password, which can now be defined when
  instantiating a new container

- added configuration option mountPostgresDataToTmpfs, which allows to
  mount the postgres data directory (/var/lib/postgresql/data) inside
  the docker container to an in-memory volume for improved performance
  (see testcontainers/testcontainers-java#1256)
@dimafeng dimafeng merged commit e7304bb into testcontainers:master Aug 28, 2019
@dimafeng
Copy link
Collaborator

@rgba thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants