Skip to content

Commit fddfbf2

Browse files
committed
Released OrientDB 3.2.35
1 parent 7cd0cde commit fddfbf2

File tree

3 files changed

+155
-0
lines changed

3 files changed

+155
-0
lines changed
Lines changed: 53 additions & 0 deletions
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 (info@orientdb.com)
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.35
14+
ENV ORIENTDB_DOWNLOAD_MD5 31e47ad5a3dedcf99096fde158dc8b57
15+
ENV ORIENTDB_DOWNLOAD_SHA1 0a3baac398c927960042145595c9e54278da4216
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+
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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+
serializers:
33+
- { className: org.apache.tinkerpop.gremlin.util.ser.GraphSONMessageSerializerV3, config: { ioRegistries: [org.apache.tinkerpop.gremlin.orientdb.io.OrientIoRegistry] }} # application/json
34+
processors:
35+
- { className: org.apache.tinkerpop.gremlin.server.op.session.SessionOpProcessor, config: { sessionTimeout: 28800000 }}
36+
- { className: org.apache.tinkerpop.gremlin.server.op.traversal.TraversalOpProcessor, config: { cacheExpirationTime: 600000, cacheMaxSize: 1000 }}
37+
metrics: {
38+
consoleReporter: {enabled: true, interval: 180000},
39+
csvReporter: {enabled: true, interval: 180000, fileName: /tmp/gremlin-server-metrics.csv},
40+
jmxReporter: {enabled: true},
41+
slf4jReporter: {enabled: true, interval: 180000}}
42+
strictTransactionManagement: false
43+
maxInitialLineLength: 4096
44+
maxHeaderSize: 8192
45+
maxChunkSize: 8192
46+
maxContentLength: 65536
47+
maxAccumulationBufferComponents: 1024
48+
resultIterationBatchSize: 64
49+
writeBufferLowWaterMark: 32768
50+
writeBufferHighWaterMark: 65536
51+
authentication: {
52+
authenticator: com.orientechnologies.tinkerpop.server.auth.OGremlinServerAuthenticator
53+
}
54+
ssl: {
55+
enabled: false}

release/3.2.x/3.2.35/Dockerfile

Lines changed: 47 additions & 0 deletions
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 (info@orientdb.com)
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.35
14+
ENV ORIENTDB_DOWNLOAD_MD5 e68324140c0380660d9cd589c75c1f04
15+
ENV ORIENTDB_DOWNLOAD_SHA1 a953e4728e44aacd2859d60c8a015e8abf267a18
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)