-
-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathDockerfile
More file actions
82 lines (56 loc) · 2.02 KB
/
Dockerfile
File metadata and controls
82 lines (56 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#
# Copyright © 2021-present Arcade Data Ltd ([email protected])
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#FROM eclipse-temurin:21-alpine@sha256:df8ce8302ed2ed1690ef490c633981b07e752b373b5fdf796960fb2eb0d640ea
FROM amazoncorretto:25-alpine3.22@sha256:807ea3c4000a052986cd1e7097a883f9cd7a6e527f73841f462e3d04851b8835
LABEL maintainer="Arcade Data LTD ([email protected])"
ENV JAVA_OPTS="-XX:+UseZGC -XX:+ZGenerational -XX:+UseCompactObjectHeaders"
ENV ARCADEDB_OPTS_MEMORY="-Xms2G -Xmx2G"
ENV ARCADEDB_JMX="-Dcom.sun.management.jmxremote=true \
-Dcom.sun.management.jmxremote.local.only=false \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.port=9999 \
-Dcom.sun.management.jmxremote.rmi.port=9998"
RUN apk -U upgrade && rm -rf /var/cache/apk/*
RUN adduser -D -h /home/arcadedb -s /bin/sh arcadedb
WORKDIR /home/arcadedb
USER arcadedb
COPY --chown=arcadedb:arcadedb ./arcadedb-* ./
RUN chmod +x ./bin/*.sh
# Volumes available
VOLUME [ "/home/arcadedb/config"]
VOLUME [ "/home/arcadedb/databases"]
VOLUME [ "/home/arcadedb/replication"]
VOLUME [ "/home/arcadedb/backups"]
VOLUME [ "/home/arcadedb/log"]
# ArcadeDB HTTP API & STUDIO
EXPOSE 2480
# ArcadeDB Binary Protocol (replication)
EXPOSE 2424
# Gremlin Server (Apache TinkerPop)
EXPOSE 8182
# Postgres protocol
EXPOSE 5432
# Redis protocol
EXPOSE 6379
# MongoDB Protocol
EXPOSE 27017
# gRPC service
EXPOSE 50051
# JMX for monitoring
EXPOSE 9999
EXPOSE 9998
CMD ["./bin/server.sh"]