Replies: 1 comment
-
You can see in the documentation: https://hub.docker.com/r/keyfactor/ejbca-ce jdbc:h2:/mnt/persistent/ejbcadb;DB_CLOSE_DELAY=-1 will use the bundled H2 database that is persisted when the container is gracefully stopped. This is the default value. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am running a keyfactor/ejbca-ce on ubuntu 22 with h2 DB but not able to locate the H2 db in container file system so can any one guide me where does it store when docker is shut down gracefully.
See my docker image inspect details.
See my wildfly standalone subsystem setting below:
${env.DATABASE_JDBC_URL:jdbc:h2:mem:ejbcadb;DB_CLOSE_DELAY=-1} ${env.DATABASE_JDBC_DRIVER_CLASS:org.h2.Driver} ${env.DATABASE_JDBC_DRIVER:h2} ${env.DATABASE_JDBC_ISOLATION:TRANSACTION_READ_COMMITTED} 10 150 true ${env.DATABASE_USER:sa} ${env.DATABASE_PASSWORD:sa} ${env.DATABASE_CONNECTION_CHECK:SELECT 1;} false true 30000 3 ${env.DATABASE_PREPARED_STATEMENT_CACHE_SIZE:50} ${env.DATABASE_SHARE_PREPARED_STATEMENTS:true} org.h2.jdbcx.JdbcDataSource [docker_inspect-post.txt](https://github.com/Keyfactor/ejbca-ce/files/12651609/docker_inspect-post.txt)Beta Was this translation helpful? Give feedback.
All reactions