Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Pig
提交
35d79085
P
Pig
项目概览
int
/
Pig
上一次同步 12 个月
通知
8
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Pig
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
35d79085
编写于
1月 17, 2020
作者:
pig_冷冷
浏览文件
操作
浏览文件
下载
差异文件
Merge
https://gitee.com/gi2/pig
into dev
上级
72151834
318dc7cf
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
68 addition
and
23 deletion
+68
-23
db/Dockerfile
db/Dockerfile
+2
-2
docker-compose.yml
docker-compose.yml
+7
-14
pig-auth/Dockerfile
pig-auth/Dockerfile
+1
-1
pig-auth/pom.xml
pig-auth/pom.xml
+4
-0
pig-codegen/Dockerfile
pig-codegen/Dockerfile
+1
-1
pig-codegen/pom.xml
pig-codegen/pom.xml
+4
-0
pig-gateway/Dockerfile
pig-gateway/Dockerfile
+1
-1
pig-gateway/pom.xml
pig-gateway/pom.xml
+4
-0
pig-monitor/Dockerfile
pig-monitor/Dockerfile
+1
-1
pig-monitor/pom.xml
pig-monitor/pom.xml
+4
-0
pig-register/Dockerfile
pig-register/Dockerfile
+1
-2
pig-register/pom.xml
pig-register/pom.xml
+4
-0
pig-upms/pig-upms-biz/Dockerfile
pig-upms/pig-upms-biz/Dockerfile
+1
-1
pig-upms/pig-upms-biz/pom.xml
pig-upms/pig-upms-biz/pom.xml
+4
-0
pom.xml
pom.xml
+29
-0
未找到文件。
db/Dockerfile
浏览文件 @
35d79085
...
...
@@ -4,6 +4,6 @@ MAINTAINER lengleng(wangiegie@gmail.com)
RUN
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
COPY
./
db/
pig.sql /docker-entrypoint-initdb.d
COPY
./pig.sql /docker-entrypoint-initdb.d
COPY
./
db/
pig_config.sql /docker-entrypoint-initdb.d
COPY
./pig_config.sql /docker-entrypoint-initdb.d
docker-compose.yml
浏览文件 @
35d79085
...
...
@@ -2,8 +2,7 @@ version: '2'
services
:
pig-mysql
:
build
:
context
:
./
dockerfile
:
./db/Dockerfile
context
:
./db
environment
:
MYSQL_ROOT_PASSWORD
:
root
restart
:
always
...
...
@@ -22,8 +21,7 @@ services:
pig-register
:
build
:
context
:
./
dockerfile
:
./pig-register/Dockerfile
context
:
./pig-register
restart
:
always
ports
:
-
8848:8848
...
...
@@ -33,8 +31,7 @@ services:
pig-gateway
:
build
:
context
:
./
dockerfile
:
./pig-gateway/Dockerfile
context
:
./pig-gateway
restart
:
always
ports
:
-
9999:9999
...
...
@@ -44,8 +41,7 @@ services:
pig-auth
:
build
:
context
:
./
dockerfile
:
./pig-auth/Dockerfile
context
:
./pig-auth
restart
:
always
container_name
:
pig-auth
hostname
:
pig-auth
...
...
@@ -53,8 +49,7 @@ services:
pig-upms
:
build
:
context
:
./
dockerfile
:
./pig-upms/pig-upms-biz/Dockerfile
context
:
./pig-upms/pig-upms-biz
restart
:
always
container_name
:
pig-upms
hostname
:
pig-upms
...
...
@@ -62,8 +57,7 @@ services:
pig-monitor
:
build
:
context
:
./
dockerfile
:
./pig-monitor/Dockerfile
context
:
./pig-monitor
restart
:
always
ports
:
-
5001:5001
...
...
@@ -73,8 +67,7 @@ services:
pig-codegen
:
build
:
context
:
./
dockerfile
:
./pig-codegen/Dockerfile
context
:
./pig-codegen
restart
:
always
container_name
:
pig-codegen
hostname
:
pig-codegen
...
...
pig-auth/Dockerfile
浏览文件 @
35d79085
...
...
@@ -10,6 +10,6 @@ WORKDIR /pig-auth
EXPOSE
3000
ADD
./
pig-auth/
target/pig-auth.jar ./
ADD
./target/pig-auth.jar ./
CMD
sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-auth.jar
pig-auth/pom.xml
浏览文件 @
35d79085
...
...
@@ -85,6 +85,10 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
io.fabric8
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
...
...
pig-codegen/Dockerfile
浏览文件 @
35d79085
...
...
@@ -10,6 +10,6 @@ WORKDIR /pig-codegen
EXPOSE
5003
ADD
./
pig-codegen/
target/pig-codegen.jar ./
ADD
./target/pig-codegen.jar ./
CMD
sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-codegen.jar
pig-codegen/pom.xml
浏览文件 @
35d79085
...
...
@@ -88,6 +88,10 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
io.fabric8
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
pig-gateway/Dockerfile
浏览文件 @
35d79085
...
...
@@ -10,6 +10,6 @@ WORKDIR /pig-gateway
EXPOSE
9999
ADD
./
pig-gateway/
target/pig-gateway.jar ./
ADD
./target/pig-gateway.jar ./
CMD
sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-gateway.jar
pig-gateway/pom.xml
浏览文件 @
35d79085
...
...
@@ -80,6 +80,10 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
io.fabric8
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
...
...
pig-monitor/Dockerfile
浏览文件 @
35d79085
...
...
@@ -10,6 +10,6 @@ WORKDIR /pig-monitor
EXPOSE
5001
ADD
./
pig-monitor/
target/pig-monitor.jar ./
ADD
./target/pig-monitor.jar ./
CMD
sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-monitor.jar
pig-monitor/pom.xml
浏览文件 @
35d79085
...
...
@@ -69,6 +69,10 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
io.fabric8
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
...
...
pig-register/Dockerfile
浏览文件 @
35d79085
...
...
@@ -10,8 +10,7 @@ WORKDIR /pig-register
EXPOSE
8848
ADD
./pig-register/target/pig-register.jar ./
ADD
./target/pig-register.jar ./
CMD
sleep 30;java -Djava.security.egd=file:/dev/./urandom -jar pig-register.jar
...
...
pig-register/pom.xml
浏览文件 @
35d79085
...
...
@@ -70,6 +70,10 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
io.fabric8
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
</plugin>
</plugins>
<resources>
<resource>
...
...
pig-upms/pig-upms-biz/Dockerfile
浏览文件 @
35d79085
...
...
@@ -10,6 +10,6 @@ WORKDIR /pigx-upms
EXPOSE
4000
ADD
./
pig-upms/pig-upms-biz/
target/pig-upms-biz.jar ./
ADD
./target/pig-upms-biz.jar ./
CMD
sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-upms-biz.jar
pig-upms/pig-upms-biz/pom.xml
浏览文件 @
35d79085
...
...
@@ -88,6 +88,10 @@
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
io.fabric8
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
...
...
pom.xml
浏览文件 @
35d79085
...
...
@@ -48,6 +48,12 @@
<jasypt.version>
2.1.0
</jasypt.version>
<swagger.fox.version>
2.9.2
</swagger.fox.version>
<security.oauth.version>
2.3.6.RELEASE
</security.oauth.version>
<docker.registry>
http://172.17.0.111:2375
</docker.registry>
<docker.host>
172.17.0.111
</docker.host>
<docker.namespace>
library
</docker.namespace>
<docker.username>
admin
</docker.username>
<docker.password>
Harbor12345
</docker.password>
<docker.plugin.version>
0.32.0
</docker.plugin.version>
</properties>
<dependencies>
...
...
@@ -180,6 +186,29 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>
io.fabric8
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
<version>
${docker.plugin.version}
</version>
<configuration>
<dockerHost>
${docker.host}
</dockerHost>
<registry>
${docker.registry}
</registry>
<authConfig>
<push>
<username>
${docker.username}
</username>
<password>
${docker.password}
</password>
</push>
</authConfig>
<images>
<image>
<name>
${docker.host}/${docker.namespace}/${project.name}:${project.version}
</name>
<build>
<dockerFile>
${project.basedir}/Dockerfile
</dockerFile>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录