Skip to content

Commit

Permalink
Update to Postgres 16
Browse files Browse the repository at this point in the history
  • Loading branch information
schnapster committed Feb 4, 2024
1 parent 46a421d commit bcc026b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ project(':database-codegen') {

ext {
codegenDbImageRepo = 'napstr/poggres'
codegenDbImageTag = '15'
codegenDbImageTag = "$postgresVersion"
codegenDbImageName = codegenDbImageRepo + ':' + codegenDbImageTag
codegenDbContainerName = 'wolfia-codegen-postgres'
codegenJdbcUrl = "jdbc:postgresql://127.0.0.1:5435/codegen?user=codegen"
Expand Down
2 changes: 1 addition & 1 deletion docker/deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ services:
- CF_API_KEY=${CF_KEY}

db:
image: napstr/poggres:15
image: napstr/poggres:16
restart: always
ports:
- 127.0.0.1:5432:5432
Expand Down
2 changes: 1 addition & 1 deletion docker/dev/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: '3.7'

services:
dev-postgres:
image: napstr/poggres:15
image: napstr/poggres:16
restart: always
ports:
- 127.0.0.1:5442:5432
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ org.gradle.warning.mode=all


javaVersion=21
postgresVersion=16
kotlinVersion=[1.9.21, 2.0[
springBootVersion=[3.2, 3.3[
flywayVersion=[9.17.0, 10.0[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/
public abstract class PostgresAndRedisContainers {

private static final GenericContainer<?> DB = new GenericContainer<>("napstr/poggres:15")
private static final GenericContainer<?> DB = new GenericContainer<>("napstr/poggres:16")
.withLogConsumer(new Slf4jLogConsumer(containerLogger("Postgres")))
.withEnv("POSTGRES_HOST_AUTH_METHOD", "trust")
.withEnv("ROLE", "wolfia_test")
Expand Down

0 comments on commit bcc026b

Please sign in to comment.