Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
17019e62
Commit
17019e62
authored
Mar 01, 2021
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker-compose 镜像制作脚步
parent
4a494799
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
1 deletions
+65
-1
jeecg-boot/jeecg-cloud-module/docker-compose.yml
+8
-1
jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/Dockerfile
+16
-0
jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/Dockerfile
+16
-0
jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/pom.xml
+25
-0
No files found.
jeecg-boot/jeecg-cloud-module/docker-compose.yml
View file @
17019e62
...
...
@@ -67,4 +67,10 @@ services:
environment
:
-
TZ=Asia/Shanghai
jeecg-boot-xxljob
:
build
:
context
:
./jeecg-cloud-xxljob
ports
:
-
9080:9080
container_name
:
jeecg-boot-xxljob
hostname
:
jeecg-boot-xxljob
\ No newline at end of file
jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/Dockerfile
0 → 100644
View file @
17019e62
FROM
anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER
jeecgos@163.com
RUN
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN
mkdir
-p
/jeecg-cloud-gateway
WORKDIR
/jeecg-cloud-gateway
EXPOSE
9999
ADD
./target/jeecg-cloud-gateway-2.4.2.jar ./
CMD
java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-gateway-2.4.2.jar
\ No newline at end of file
jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/Dockerfile
0 → 100644
View file @
17019e62
FROM
anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER
jeecgos@163.com
RUN
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN
mkdir
-p
/jeecg-cloud-xxljob
WORKDIR
/jeecg-cloud-xxljob
EXPOSE
9080
ADD
./target/jeecg-cloud-xxljob-2.4.2.jar ./
CMD
java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-xxljob-2.4.2.jar
jeecg-boot/jeecg-cloud-module/jeecg-cloud-xxljob/pom.xml
View file @
17019e62
...
...
@@ -60,4 +60,28 @@
<version>
${xxl-job-core.version}
</version>
</dependency>
</dependencies>
<!-- update-begin-author:taoyan date:20210226 for:docker部署报错:no main manifest attribute -->
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
repackage
</goal>
</goals>
</execution>
</executions>
<configuration>
<includeSystemScope>
true
</includeSystemScope>
<mainClass>
com.xxl.job.admin.XxlJobAdminApplication
</mainClass>
</configuration>
</plugin>
</plugins>
</build>
<!-- update-end-author:taoyan date:20210226 for:docker部署报错:no main manifest attribute -->
</project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment