Skip to content

Commit

Permalink
PostgreSQL 17
Browse files Browse the repository at this point in the history
  • Loading branch information
schnapster committed Nov 10, 2024
1 parent fa7987a commit 7875e73
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
6 changes: 2 additions & 4 deletions docker/deploy/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.6'

networks:
traefik:
dockersock4traefik:
Expand Down Expand Up @@ -63,12 +61,12 @@ services:
- CF_API_KEY=${CF_KEY}

db:
image: napstr/poggres:16
image: napstr/poggres:17
restart: always
ports:
- 127.0.0.1:5432:5432
volumes:
- ./postgres-data/16/data:/var/lib/postgresql/data
- ./postgres-data/17/data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=${PG_PASS}
# See https://github.com/napstr/poggres#env-vars
Expand Down
6 changes: 2 additions & 4 deletions docker/dev/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# Required services to run Wolfia on a local machine

version: '3.7'

services:
dev-postgres:
image: napstr/poggres:16
image: napstr/poggres:17
restart: always
ports:
- 127.0.0.1:5442:5432
volumes:
- ./postgres-data/16/data:/var/lib/postgresql/data
- ./postgres-data/17/data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=wolfia
- ROLE=wolfia
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ org.gradle.warning.mode=all


javaVersion=21
postgresVersion=16
postgresVersion=17
kotlinVersion=[1.9.21, 2.0[
springBootVersion=[3.3.5, 3.4[
flywayVersion=[10.21.0, 12.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:16")
private static final GenericContainer<?> DB = new GenericContainer<>("napstr/poggres:17")
.withLogConsumer(new Slf4jLogConsumer(containerLogger("Postgres")))
.withEnv("POSTGRES_HOST_AUTH_METHOD", "trust")
.withEnv("ROLE", "wolfia_test")
Expand Down

0 comments on commit 7875e73

Please sign in to comment.