Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.docker-compose
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PROTOCOL_MAGIC=764824073

## Postgres image
DB_IMAGE_NAME=postgres
DB_IMAGE_TAG=14.11-bullseye
DB_IMAGE_TAG=17.4-bookworm

## Postgres variables
DB_NAME=rosetta-java
Expand Down
2 changes: 1 addition & 1 deletion .env.h2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PROTOCOL_MAGIC=42

## H2 image
DB_IMAGE_NAME=h2
DB_IMAGE_TAG=14.11-bullseye
DB_IMAGE_TAG=17.4-bookworm

## Postgres variables
DB_NAME=rosetta-java
Expand Down
2 changes: 1 addition & 1 deletion .env.h2-testdata
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PROTOCOL_MAGIC=42

## H2 image
DB_IMAGE_NAME=h2
DB_IMAGE_TAG=14.11-bullseye
DB_IMAGE_TAG=17.4-bookworm

## Postgres variables
DB_NAME=rosetta-java
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ FROM ubuntu:22.04
WORKDIR /

# Install postgres
ARG PG_VERSION=14
ARG PG_VERSION=17
ARG PG_VERSION_TEMP=$PG_VERSION
ENV PG_VERSION=$PG_VERSION_TEMP

Expand Down
2 changes: 1 addition & 1 deletion docker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ GHC_VERSION=8.10.7
CARDANO_NODE_VERSION=10.2.1
``
``
PG_VERSION=14
PG_VERSION=17
``

### 5. Volume with Cardano node data
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/getting-started/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: Guide to deploying Cardano Rosetta Java using Docker
- Docker
- Docker Compose
- Java 21
- For integration tests: Node 14+
- For integration tests: Node 17+

### Node Prerequisites

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

The default values:
`CABAL_VERSION=3.8.1.0`
`GHC_VERSION=8.10.7 `
`CARDANO_NODE_VERSION=8.9.2 `
`PG_VERSION=14 `
`GHC_VERSION=8.10.7`
`CARDANO_NODE_VERSION=10.2.1`
`PG_VERSION=17`

### 2. How to run the container

Expand Down
6 changes: 3 additions & 3 deletions docs/docs/getting-started/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Within root folder of the project there are example `.env` files, which can be c
- `.env.docker-compose` - Is used for standard docker-compose setup (Copy this file and adjusted it to your needs)

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