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
Copy file name to clipboardExpand all lines: geonetwork/content.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,25 +19,25 @@ GeoNetwork 4 uses an Elasticsearch server to store the index of the documents it
19
19
This is a quick example of how to get GeoNetwork 4.4 Latest up and running for demo purposes. This configuration doesn't keep the data if containers are removed.
To be sure about what Elasticsearch version to use you can check the [GeoNetwork documentation](https://docs.geonetwork-opensource.org/4.4/install-guide/installing-index/) for your GN version or the `es.version` property in the [`pom.xml`](https://github.com/geonetwork/core-geonetwork/blob/main/pom.xml#L1528C17-L1528C24) file of the GeoNetwork release used.
@@ -124,15 +124,15 @@ By default GeoNetwork uses a local **H2 database** for demo use (this one is **n
124
124
This command will start a Debian-based container, running a Tomcat web server, with a GeoNetwork WAR deployed on the server. Note: GeoNetwork 4.0.0-4.2.14 and 4.4.0-4.4.9 used Jetty 9 instead of Tomcat.
125
125
126
126
```console
127
-
docker run --name some-%%REPO%% -d %%IMAGE%%
127
+
$ docker run --name some-%%REPO%% -d %%IMAGE%%
128
128
```
129
129
130
130
### Publish port
131
131
132
132
GeoNetwork listens on port `8080`. If you want to access the container at the host, **you must publish this port**. For instance, this, will redirect all the container traffic on port 8080, to the same port on the host:
133
133
134
134
```console
135
-
docker run --name some-%%REPO%% -d -p 8080:8080 %%IMAGE%%
135
+
$ docker run --name some-%%REPO%% -d -p 8080:8080 %%IMAGE%%
136
136
```
137
137
138
138
Then, if you are running docker on Linux, you may access geonetwork at http://localhost:8080/geonetwork.
@@ -162,7 +162,7 @@ By default, GeoNetwork sets the data directory on `/opt/geonetwork/WEB-INF/data`
162
162
Since version 4.4.0 the data directory needs to be configued using Java properties passed in the `GN_CONFIG_PROPERTIES` environment variable. For example:
If you want the data directory to live beyond restarts, or even destruction of the container, you can mount a directory from the docker engine's host into the container. - `-v /host/path:/path/to/data/directory`. For instance this, will mount the host directory `/host/%%REPO%%-docker` into `/catalogue-data` on the container:
0 commit comments