Skip to content

Commit

Permalink
update postgres image. Update configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
turing85 committed Nov 2, 2023
1 parent 9d9d44f commit c825273
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion local-deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"
services:
postgres:
container_name: postgres
image: docker.io/postgres:15.3-alpine3.18@sha256:8aa5154e724b1d5c23d3df387a65e975d67253292d224ffdc22d125c0d6d4bda
image: docker.io/postgres:16.0-alpine3.18@sha256:d171d14965e28764824b33974d038aea3a6be3bf0ced3c8656c848df9b7218c5
volumes:
- ${REMOTE_PROJECT_PATH:-.}/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d/:ro
environment:
Expand Down
20 changes: 10 additions & 10 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
"%prod":
quarkus:
datasource:
devservices:
enabled: false
db-kind: postgresql
username: ${DB_USERNAME:application}
password: ${DB_PASSWORD:application}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
jdbc:
url: jdbc:${quarkus.datasource.db-kind}://${DB_HOST:localhost:5432}/${DB_NAME:application}
url: jdbc:${quarkus.datasource.db-kind}://${DB_HOST}/${DB_NAME}
min-size: ${DB_MIN_SIZE:2}
max-size: ${DB_MAX_SIZE:8}

"%test":
quarkus:
datasource:
devservices:
enabled: true
image-name: docker.io/postgres:15.3-alpine3.18@sha256:8aa5154e724b1d5c23d3df387a65e975d67253292d224ffdc22d125c0d6d4bda
quarkus:
datasource:
devservices:
enabled: true
image-name: docker.io/postgres:16.0-alpine3.18@sha256:d171d14965e28764824b33974d038aea3a6be3bf0ced3c8656c848df9b7218c5

0 comments on commit c825273

Please sign in to comment.