CDO is a model repository from the Eclipse Project and is used as storage for ESDL files
10K+
CDO is a model repository from the Eclipse Project. See the CDO documentation for more information. This server has been configured to use a PostgreSQL backend.
You can run this server by generating the fat jar by issuing the command
mvn package
This will also try to generate the docker image.
In target/cdo-server-{version}-jar-with-dependencies.jar you can find the jar you can execute with:
java -jar target/cdo-server-{version}-jar-with-dependencies.jar
You can configure this server by environment variables. Issue --help after the executable to get an overview:
CDOServer is configured by setting environmental variables:
Variable Default value Description
------------------- ------------- --------------------------------------------------------
POSTGRESQL_DATABASE esdlrepo The database name in PostgreSQL
CDO_REPOSITORY_NAME esdldrive The CDO repository name
POSTGRESQL_HOST localhost The hostname of the PostgreSQL server
POSTGRESQL_PORT 5432 Port of the PostgreSQL server
POSTGRESQL_USER drive Username for accessing the PostgreSQL server
POSTGRESQL_PASSWORD <secret> The password to connect to the PostgreSQL server
LISTEN_ADDRESS 0.0.0.0:2036 Interface where the CDO server should accept connections
Try something like:
docker run --rm --name cdo-server -p 2036:2036 cdo-server
Add -e POSTGRESQL_HOST to specify the host where PostgreSQL is located.
Or if you run it on the localhost use:
docker run --rm --name cdo-server --network="host" -p 2036:2036 cdo-server
Content type
Image
Digest
sha256:97c26f83b…
Size
66.8 MB
Last updated
about 2 years ago
docker pull esdlmapeditoressim/cdo-serverPulls:
54
Last week