diff --git a/docker-compose.yml b/docker-compose.yml index eced572..0b2a16f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,8 @@ version: "3" + services: postgres: - image: postgres:9.6.15-alpine + image: postgres:12-alpine restart: always volumes: - postgres-data:/var/lib/postgresql/data diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e545307..e8a4f1e 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -3,5 +3,5 @@ server.port=8099 spring.datasource.url=${DB_URL} spring.datasource.username=${DB_USER} spring.datasource.password=${DB_PASSWORD} -spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL95Dialect +spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL10Dialect #spring.jpa.show-sql=true