Skip to content

Commit d90867f

Browse files
author
Mateusz Czeladka
committed
chore: PostgresSQL 14 -> 17 upgrade.
1 parent cd2e21b commit d90867f

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.env.docker-compose

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PROTOCOL_MAGIC=764824073
88

99
## Postgres image
1010
DB_IMAGE_NAME=postgres
11-
DB_IMAGE_TAG=14.11-bullseye
11+
DB_IMAGE_TAG=17.4-bookworm
1212

1313
## Postgres variables
1414
DB_NAME=rosetta-java

.env.h2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PROTOCOL_MAGIC=42
77

88
## H2 image
99
DB_IMAGE_NAME=h2
10-
DB_IMAGE_TAG=14.11-bullseye
10+
DB_IMAGE_TAG=17.4-bookworm
1111

1212
## Postgres variables
1313
DB_NAME=rosetta-java

.env.h2-testdata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PROTOCOL_MAGIC=42
77

88
## H2 image
99
DB_IMAGE_NAME=h2
10-
DB_IMAGE_TAG=14.11-bullseye
10+
DB_IMAGE_TAG=17.4-bookworm
1111

1212
## Postgres variables
1313
DB_NAME=rosetta-java

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ FROM ubuntu:22.04
167167
WORKDIR /
168168

169169
# Install postgres
170-
ARG PG_VERSION=14
170+
ARG PG_VERSION=17
171171
ARG PG_VERSION_TEMP=$PG_VERSION
172172
ENV PG_VERSION=$PG_VERSION_TEMP
173173

docker/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ GHC_VERSION=8.10.7
5151
CARDANO_NODE_VERSION=10.2.1
5252
``
5353
``
54-
PG_VERSION=14
54+
PG_VERSION=17
5555
``
5656

5757
### 5. Volume with Cardano node data

docs/docs/getting-started/docker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: Guide to deploying Cardano Rosetta Java using Docker
1111
- Docker
1212
- Docker Compose
1313
- Java 21
14-
- For integration tests: Node 14+
14+
- For integration tests: Node 17+
1515

1616
### Node Prerequisites
1717

@@ -82,9 +82,9 @@ docker build -t {image_name} --build-arg PG_VERSION=14 -f ./docker/Dockerfile .
8282

8383
The default values:
8484
`CABAL_VERSION=3.8.1.0`
85-
`GHC_VERSION=8.10.7 `
86-
`CARDANO_NODE_VERSION=8.9.2 `
87-
`PG_VERSION=14 `
85+
`GHC_VERSION=8.10.7`
86+
`CARDANO_NODE_VERSION=10.2.1`
87+
`PG_VERSION=17`
8888

8989
### 2. How to run the container
9090

docs/docs/getting-started/environment-variables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Within root folder of the project there are example `.env` files, which can be c
1414
- `.env.docker-compose` - Is used for standard docker-compose setup (Copy this file and adjusted it to your needs)
1515

1616
| Variable | Description | Default |
17-
| ---------------------------- | ---------------------------- | ------------------------------------- |
17+
| ---------------------------- | ---------------------------- |---------------------------------------|
1818
| `LOG` | Log level | INFO |
1919
| `NETWORK` | Network | mainnet |
2020
| `MITHRIL_SYNC` | Sync from Mithril snapshot | true |
2121
| `PROTOCOL_MAGIC` | Cardano protocol magic | 764824073 |
2222
| `DB_IMAGE_NAME` | Postgres docker image name | postgres |
23-
| `DB_IMAGE_TAG` | Postgres docker image tag | 14.11-bullseye |
23+
| `DB_IMAGE_TAG` | Postgres docker image tag | 17.4-bookworm |
2424
| `DB_NAME` | Postgres database | rosetta-java |
2525
| `DB_USER` | Postgres admin user | rosetta_db_admin |
2626
| `DB_SECRET` | Postgres admin secret | weakpwd#123_d |
@@ -30,7 +30,7 @@ Within root folder of the project there are example `.env` files, which can be c
3030
| `DB_PATH` | Database path | /data |
3131
| `CARDANO_NODE_HOST` | Cardano node host | cardano-node |
3232
| `CARDANO_NODE_PORT` | Cardano node port | 3001 |
33-
| `CARDANO_NODE_VERSION` | Cardano node version | 8.9.2 |
33+
| `CARDANO_NODE_VERSION` | Cardano node version | 10.2.1 |
3434
| `CARDANO_NODE_SUBMIT_HOST` | Cardano node submit api host | cardano-submit-api |
3535
| `NODE_SUBMIT_API_PORT` | Cardano node submit api port | 8090 |
3636
| `CARDANO_NODE_SOCKET_PATH` | Cardano node socket path | /node |

0 commit comments

Comments
 (0)