File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131
3232# ## Environment variables ###
3333.env
34- src /test /resources /application-test.properties
3534src /main /resources /application-local.properties
Original file line number Diff line number Diff line change 1+ spring.datasource.url =${H2_URL}; MODE=PostgreSQL;DATABASE_TO_UPPER=false;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
2+ spring.datasource.driver-class-name =org.h2.Driver
3+ spring.datasource.username =${H2_USERNAME}
4+ spring.datasource.password =${H2_PASSWORD}
5+ spring.sql.init.mode =never
6+ spring.docker.compose.enabled =false
Original file line number Diff line number Diff line change 1- POSTGRES_USER=your_postgres_user
2- POSTGRES_PASSWORD=your_postgres_password
3- POSTGRES_DB=your_postgres_db
4- POSTGRES_PORT=your_postgres_port
5-
6-
1+ spring.datasource.url=jdbc:h2:mem:mydb;MODE=PostgreSQL;DATABASE_TO_UPPER=false;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
2+ spring.datasource.driver-class-name=org.h2.Driver
3+ spring.datasource.username=myusername
4+ spring.datasource.password=mypassword
5+ spring.sql.init.mode=never
6+ spring.docker.compose.enabled=false
You can’t perform that action at this time.
0 commit comments