Skip to content

Commit b800b94

Browse files
committedOct 15, 2021
feat: server initial commit
1 parent 4f70820 commit b800b94

File tree

439 files changed

+38029
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

439 files changed

+38029
-0
lines changed
 

‎Dockerfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM java:8
2+
LABEL "author"="tl"
3+
RUN mkdir /datart
4+
COPY ./bin/* /datart/bin/
5+
COPY ./config/* /datart/config/
6+
COPY ./lib/* /datart/lib/
7+
EXPOSE 58080
8+
WORKDIR /datart
9+
ENTRYPOINT java -cp "lib/*" datart.DatartServerApplication

‎bin/datart-server.cmd

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
@echo off
2+
3+
REM Datart
4+
REM <p>
5+
REM Copyright 2021
6+
REM <p>
7+
REM Licensed under the Apache License, Version 2.0 (the "License");
8+
REM you may not use this file except in compliance with the License.
9+
REM You may obtain a copy of the License at
10+
REM <p>
11+
REM http://www.apache.org/licenses/LICENSE-2.0
12+
REM <p>
13+
REM Unless required by applicable law or agreed to in writing, software
14+
REM distributed under the License is distributed on an "AS IS" BASIS,
15+
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
REM See the License for the specific language governing permissions and
17+
REM limitations under the License.
18+
19+
20+
if "%1"=="start" goto START
21+
22+
23+
:START
24+
25+
cd /d %~dp0
26+
27+
cd ..
28+
29+
java -server -Xms2G -Xmx2G -Dfile.encoding=UTF-8 -cp ".\lib\*" datart.DatartServerApplication

0 commit comments

Comments
 (0)