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