You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to root the cardano node data volumetrically to the /data/db point.
53
53
54
-
We can mount a volume with Cardano node data to ``/data/db`` to prevent loading during initialization.
54
+
You can mount a volume with Cardano node data to ``/data/db`` to prevent loading during initialization.
55
55
56
56
### 6. Volume with custom network configurations
57
57
````
58
58
docker run --env-file .\docker\.env.dockerfile -p 8080:8080 -v {custom_folder}:/networks -it {image_name}:latest
59
59
````
60
-
The cardano node configuration json's are stored in the ``config`` folder and copied into the image on build.
61
-
If we want to use a custom configuration without rebuilding the image, we can mount a volume with configs to ``/config``
60
+
The cardano node configuration jsons are stored in the ``config`` folder and copied into the image on build.
61
+
If you want to use a custom configuration without rebuilding the image, we can mount a volume with configs to ``/networks`` folder inside the container.
62
+
63
+
### 7. Volume with cardano data
64
+
````
65
+
docker run --env-file .\docker\.env.dockerfile -p 8082:8082 -v {custom_folder}:/data/db -it {image_name}:latest
66
+
````
67
+
If you want to use already existing cardano data, you can mount the data volume to the ``/data/db`` folder inside the container.
0 commit comments