Revize ae654ef7
Přidáno uživatelem Jakub Šmíd před téměř 3 roky(ů)
backend/src/main/resources/application.properties | ||
---|---|---|
1 |
spring.datasource.url=jdbc:postgresql://localhost:5432/test |
|
2 |
spring.datasource.username=test |
|
3 |
spring.datasource.password=Password.123 |
|
4 |
|
|
5 |
spring.jpa.hibernate.ddl-auto=create-drop |
|
1 |
spring.datasource.url=jdbc:postgresql://localhost:5432/backend-db |
|
2 |
spring.datasource.username=backend-db |
|
3 |
spring.datasource.password=gLt7*6d@pL!kAC8A8j8w |
|
6 | 4 |
spring.jpa.generate-ddl=true |
7 | 5 |
spring.jpa.open-in-view=false |
8 | 6 |
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL10Dialect |
9 | 7 |
spring.jpa.properties.hibernate.format_sql=true |
10 |
#spring.jpa.show-sql=true |
|
11 |
|
|
12 |
|
|
13 |
application.jwt.secretKey=securesecuresecuresecuresecuresecuresecuresecuresecuresecuresecuresecuresecure |
|
8 |
application.jwt.secretKey=PyzvaLFDdc4AoQEgKyZRY9d$@rs0YwAvVWfXxG*VW56PW8*$oU |
|
14 | 9 |
application.jwt.tokenPrefix=Bearer |
15 | 10 |
application.jwt.tokenExpirationAfterMinutes=15 |
16 | 11 |
application.jwt.refreshTokenExpirationAfterMonths=6 |
Také k dispozici: Unified diff
Database exported to script
- removed initialization from application
- updated docker-compose.yml to create volume and add data from script
re #9746