File tree Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ target
2
+ logs
3
+ index
4
+ assets
5
+ repo
6
+
7
+ # Intellij project files
8
+ * .iml
9
+ * .ipr
10
+ * .iws
11
+ .idea /*
12
+
13
+ # Mac system files
14
+ .DS_Store
Original file line number Diff line number Diff line change
1
+ FROM adoptopenjdk/openjdk11:alpine
2
+
3
+ RUN apk --update add maven
4
+
5
+ WORKDIR /opt/app/
6
+
7
+ COPY ./pom.xml /opt/app
8
+ RUN mvn -f ./pom.xml -B dependency:resolve-plugins dependency:resolve clean package
9
+
10
+ COPY ./ /opt/app/
11
+
12
+ RUN mvn -Dmaven.test.skip=true package
13
+ CMD java -jar ./target/searchcode-1.3.15.jar
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+ services :
3
+ searchcode :
4
+ build :
5
+ context : .
6
+ dockerfile : ./Dockerfile
7
+ ports :
8
+ - " 8080:8080"
9
+ depends_on :
10
+ - manticore
11
+ - mysql
12
+ manticore :
13
+ image : " manticoresearch/manticore:2.8.2"
14
+ ports :
15
+ - " 9306:9306"
16
+ mysql :
17
+ image : " mysql:5.7.26"
18
+ ports :
19
+ - " 3306:3306"
20
+ command : --default-authentication-plugin=mysql_native_password
21
+ restart : always
22
+ environment :
23
+ MYSQL_ROOT_PASSWORD : example
You can’t perform that action at this time.
0 commit comments