mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
19 lines
392 B
Java
19 lines
392 B
Java
package main;
|
|
|
|
import io.ebean.test.containers.PostgresContainer;
|
|
|
|
public class StartPostgres {
|
|
|
|
public static void main(String[] args) {
|
|
PostgresContainer.builder("14")
|
|
.dbName("unit")
|
|
//.port(6432)
|
|
//.user("unit")
|
|
//.password("test")
|
|
//.containerName("ut_postgres")
|
|
.extensions("hstore,pgcrypto")
|
|
.build()
|
|
.startWithDropCreate();
|
|
}
|
|
}
|