Skip to content

Commit a50a2a9

Browse files
committed
docs: update PostgreSQL data path in Docker documentation (#565)
- Changed the PostgreSQL data volume mount path from `/node/postgres` to `/var/lib/postgresql/data` in the Docker readme and installation documentation. - Updated relevant descriptions to reflect the new path.
1 parent ec05748 commit a50a2a9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docker/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ If you want to use already existing cardano data, you can mount the data volume
6262

6363
### 6. Volume with Postgres data
6464
````
65-
docker run --env-file .\docker\.env.dockerfile --env-file ./docker/.env.docker-profile-mid-level -p 8082:8082 -v {custom_folder}:/node/postgres --shm-size=4g -d {image_name}:latest
65+
docker run --env-file .\docker\.env.dockerfile --env-file ./docker/.env.docker-profile-mid-level -p 8082:8082 -v {custom_folder}:/var/lib/postgresql/data --shm-size=4g -d {image_name}:latest
6666
````
6767

68-
You can mount a volume with Postgres node data to ``/node/postgres`` point to use already existed data.
68+
You can mount a volume with Postgres node data to ``/var/lib/postgresql/data`` point to use already existed data.
6969
If the mounted volume does not contain the database or empty, new database will be created there.
7070

7171
### 7. Volume with custom network configurations

docs/docs/install-and-deploy/docker.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,12 @@ docker restart yaci-indexer
227227

228228
### Important Container Paths
229229

230-
| Path | Description |
231-
| ---------------- | -------------------------- |
232-
| `/node/db` | Cardano Node Data |
233-
| `/node/postgres` | PostgreSQL Data |
234-
| `/networks` | Network config location |
235-
| `/logs` | Log files for each service |
230+
| Path | Description |
231+
| -------------------------- | -------------------------- |
232+
| `/node/db` | Cardano Node Data |
233+
| `/var/lib/postgresql/data` | PostgreSQL Data |
234+
| `/networks` | Network config location |
235+
| `/logs` | Log files for each service |
236236

237237
## Running Integration Tests
238238

0 commit comments

Comments
 (0)