Skip to content

Commit dbce6d1

Browse files
committed
Released OrientDB 3.2.37
1 parent e05191a commit dbce6d1

File tree

3 files changed

+160
-0
lines changed

3 files changed

+160
-0
lines changed

release/3.2.x/3.2.37-tp3/Dockerfile

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
############################################################
2+
# Dockerfile to run an OrientDB (Graph) Container
3+
############################################################
4+
5+
FROM eclipse-temurin:8-jdk
6+
7+
MAINTAINER OrientDB LTD ([email protected])
8+
9+
# Override the orientdb download location with e.g.:
10+
# docker build -t mine --build-arg ORIENTDB_DOWNLOAD_SERVER=https://repo1.maven.org/maven2/com/orientechnologies/ .
11+
ARG ORIENTDB_DOWNLOAD_SERVER
12+
13+
ENV ORIENTDB_VERSION 3.2.37
14+
ENV ORIENTDB_DOWNLOAD_MD5 9c7941c1e6bb5617b9f331fe9933e2c7
15+
ENV ORIENTDB_DOWNLOAD_SHA1 d70b8a8e2bc9208e2a141e23f2339b8202e8b966
16+
17+
ENV ORIENTDB_DOWNLOAD_URL ${ORIENTDB_DOWNLOAD_SERVER:-https://repo1.maven.org/maven2/com/orientechnologies}/orientdb-tp3/$ORIENTDB_VERSION/orientdb-tp3-$ORIENTDB_VERSION.tar.gz
18+
19+
RUN apt update \
20+
&& apt install -y curl wget \
21+
&& rm -rf /var/lib/apt/lists/*
22+
23+
#download distribution tar, untar and DON'T delete databases (tp3 endopoint won't works if db isn't present)
24+
RUN mkdir /orientdb && \
25+
wget $ORIENTDB_DOWNLOAD_URL \
26+
&& echo "$ORIENTDB_DOWNLOAD_MD5 *orientdb-tp3-$ORIENTDB_VERSION.tar.gz" | md5sum -c - \
27+
&& echo "$ORIENTDB_DOWNLOAD_SHA1 *orientdb-tp3-$ORIENTDB_VERSION.tar.gz" | sha1sum -c - \
28+
&& tar -xvzf orientdb-tp3-$ORIENTDB_VERSION.tar.gz -C /orientdb --strip-components=1 \
29+
&& rm orientdb-tp3-$ORIENTDB_VERSION.tar.gz \
30+
&& rm -rf /orientdb/databases/*
31+
32+
33+
#overrides internal gremlin-server to set binding to 0.0.0.0 instead of localhost
34+
ADD gremlin-server.yaml /orientdb/config
35+
36+
ENV PATH /orientdb/bin:$PATH
37+
38+
VOLUME ["/orientdb/backup", "/orientdb/databases", "/orientdb/config"]
39+
40+
WORKDIR /orientdb
41+
42+
#OrientDb binary
43+
EXPOSE 2424
44+
45+
#OrientDb http
46+
EXPOSE 2480
47+
48+
#Gremlin server
49+
EXPOSE 8182
50+
51+
# Default command start the server
52+
CMD ["server.sh"]
53+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
host: 0.0.0.0
19+
port: 8182
20+
evaluationTimeout: 30000
21+
channelizer: org.apache.tinkerpop.gremlin.server.channel.WebSocketChannelizer
22+
graphManager : com.orientechnologies.tinkerpop.server.OrientGremlinGraphManager
23+
graphs: {
24+
graph : ../config/demodb.properties
25+
}
26+
scriptEngines: {
27+
gremlin-groovy: {
28+
plugins: { org.apache.tinkerpop.gremlin.server.jsr223.GremlinServerGremlinPlugin: {},
29+
org.apache.tinkerpop.gremlin.orientdb.jsr223.OrientDBGremlinPlugin: {},
30+
org.apache.tinkerpop.gremlin.jsr223.ImportGremlinPlugin: {classImports: [java.lang.Math], methodImports: [java.lang.Math#*]},
31+
org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin: {files: [../config/demodb.groovy]},
32+
org.apache.tinkerpop.gremlin.groovy.jsr223.GroovyCompilerGremlinPlugin: {compilerConfigurationOptions: { OptimizationOptions: { asmResolving: false}}}
33+
}
34+
}
35+
}
36+
37+
serializers:
38+
- { className: org.apache.tinkerpop.gremlin.util.ser.GraphSONMessageSerializerV3, config: { ioRegistries: [org.apache.tinkerpop.gremlin.orientdb.io.OrientIoRegistry] }} # application/json
39+
processors:
40+
- { className: org.apache.tinkerpop.gremlin.server.op.session.SessionOpProcessor, config: { sessionTimeout: 28800000 }}
41+
- { className: org.apache.tinkerpop.gremlin.server.op.traversal.TraversalOpProcessor, config: { cacheExpirationTime: 600000, cacheMaxSize: 1000 }}
42+
metrics: {
43+
consoleReporter: {enabled: true, interval: 180000},
44+
csvReporter: {enabled: true, interval: 180000, fileName: /tmp/gremlin-server-metrics.csv},
45+
jmxReporter: {enabled: true},
46+
slf4jReporter: {enabled: true, interval: 180000}}
47+
strictTransactionManagement: false
48+
maxInitialLineLength: 4096
49+
maxHeaderSize: 8192
50+
maxChunkSize: 8192
51+
maxContentLength: 65536
52+
maxAccumulationBufferComponents: 1024
53+
resultIterationBatchSize: 64
54+
writeBufferLowWaterMark: 32768
55+
writeBufferHighWaterMark: 65536
56+
authentication: {
57+
authenticator: com.orientechnologies.tinkerpop.server.auth.OGremlinServerAuthenticator
58+
}
59+
ssl: {
60+
enabled: false}

release/3.2.x/3.2.37/Dockerfile

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
############################################################
2+
# Dockerfile to run an OrientDB (Graph) Container
3+
############################################################
4+
5+
FROM eclipse-temurin:8-jdk
6+
7+
MAINTAINER OrientDB LTD ([email protected])
8+
9+
# Override the orientdb download location with e.g.:
10+
# docker build -t mine --build-arg ORIENTDB_DOWNLOAD_SERVER=https://repo1.maven.org/maven2/com/orientechnologies/ .
11+
ARG ORIENTDB_DOWNLOAD_SERVER
12+
13+
ENV ORIENTDB_VERSION 3.2.37
14+
ENV ORIENTDB_DOWNLOAD_MD5 977653e88a7c37e8593ed0dc5ca6a554
15+
ENV ORIENTDB_DOWNLOAD_SHA1 be9c442524d101d29f33a3542012bfc7b7d88862
16+
17+
ENV ORIENTDB_DOWNLOAD_URL ${ORIENTDB_DOWNLOAD_SERVER:-https://repo1.maven.org/maven2/com/orientechnologies}/orientdb-community/$ORIENTDB_VERSION/orientdb-community-$ORIENTDB_VERSION.tar.gz
18+
19+
RUN apt update \
20+
&& apt install -y curl wget \
21+
&& rm -rf /var/lib/apt/lists/*
22+
23+
#download distribution tar, untar and delete databases
24+
RUN mkdir /orientdb && \
25+
wget $ORIENTDB_DOWNLOAD_URL \
26+
&& echo "$ORIENTDB_DOWNLOAD_MD5 *orientdb-community-$ORIENTDB_VERSION.tar.gz" | md5sum -c - \
27+
&& echo "$ORIENTDB_DOWNLOAD_SHA1 *orientdb-community-$ORIENTDB_VERSION.tar.gz" | sha1sum -c - \
28+
&& tar -xvzf orientdb-community-$ORIENTDB_VERSION.tar.gz -C /orientdb --strip-components=1 \
29+
&& rm orientdb-community-$ORIENTDB_VERSION.tar.gz \
30+
&& rm -rf /orientdb/databases/*
31+
32+
33+
ENV PATH /orientdb/bin:$PATH
34+
35+
VOLUME ["/orientdb/backup", "/orientdb/databases", "/orientdb/config"]
36+
37+
WORKDIR /orientdb
38+
39+
#OrientDb binary
40+
EXPOSE 2424
41+
42+
#OrientDb http
43+
EXPOSE 2480
44+
45+
# Default command start the server
46+
CMD ["server.sh"]
47+

0 commit comments

Comments
 (0)