Skip to content

Commit

Permalink
Bump version of Postgres Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-punko committed Aug 16, 2023
1 parent c0d946f commit 234c697
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 234c697

Please sign in to comment.