Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz4j Spring R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7后台标准模板
iBiz4j Spring R7
提交
aa9b3639
提交
aa9b3639
编写于
6月 16, 2020
作者:
sq3536
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docker-compose
上级
c9ad4d48
变更
10
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
198 行增加
和
19 行删除
+198
-19
%PUBPRJ%-app-%APP_PKGPATH%.yaml.ftl
...PATH%/src/main/docker/%PUBPRJ%-app-%APP_PKGPATH%.yaml.ftl
+4
-4
mongodb.yml.ftl
SLN/%PUBPRJ%-boot/src/main/docker/mongodb.yml.ftl
+27
-0
mysql.yml.ftl
SLN/%PUBPRJ%-boot/src/main/docker/mysql.yml.ftl
+38
-0
nacos.yml.ftl
SLN/%PUBPRJ%-boot/src/main/docker/nacos.yml.ftl
+19
-0
oracle.yml.ftl
SLN/%PUBPRJ%-boot/src/main/docker/oracle.yml.ftl
+36
-0
postgresql.yml.ftl
SLN/%PUBPRJ%-boot/src/main/docker/postgresql.yml.ftl
+38
-0
redis.yml.ftl
SLN/%PUBPRJ%-boot/src/main/docker/redis.yml.ftl
+20
-0
%PUBPRJ%-provider-%SYSAPI_PKGPATH%.yaml.ftl
...c/main/docker/%PUBPRJ%-provider-%SYSAPI_PKGPATH%.yaml.ftl
+4
-4
application-sys.yml.ftl
SLN/%PUBPRJ%-util/src/main/resources/application-sys.yml.ftl
+11
-11
.gitignore.ftl
SLN/.gitignore.ftl
+1
-0
未找到文件。
SLN/%PUBPRJ%-app/%PUBPRJ%-app-%APP_PKGPATH%/src/main/docker/%PUBPRJ%-app-%APP_PKGPATH%.yaml.ftl
浏览文件 @
aa9b3639
...
...
@@ -2,8 +2,8 @@
TARGET=PSSYSAPP
</#ibiztemplate>
<#assign httpPort = "8080">
<#assign nacosUrl = "1
72.16.102.21
1:8848" >
<#assign redisHost = "1
72.16.100.243
" >
<#assign nacosUrl = "1
27.0.0.
1:8848" >
<#assign redisHost = "1
27.0.0.1
" >
<#assign redisPort = "6379" >
<#assign redisDataBase = "0" >
<#assign dbUserName="root">
...
...
@@ -18,8 +18,8 @@ TARGET=PSSYSAPP
<#if depApp.getPSDCMSPlatformNode()??>
<#assign appPlatformNode=depApp.getPSDCMSPlatformNode()>
<#assign appPlatform=depApp.getPSDCMSPlatform()>
<#if appPlatform.getUserParam("nacos","1
72.16.102.21
1:8848")??>
<#assign nacosUrl = appPlatform.getUserParam("nacos","1
72.16.102.21
1:8848")>
<#if appPlatform.getUserParam("nacos","1
27.0.0.
1:8848")??>
<#assign nacosUrl = appPlatform.getUserParam("nacos","1
27.0.0.
1:8848")>
</#if>
<#if depApp.getUserParam("spring.redis.host","")?? && depApp.getUserParam("spring.redis.host","")!="">
<#assign redisHost = depApp.getUserParam("spring.redis.host","")>
...
...
SLN/%PUBPRJ%-boot/src/main/docker/mongodb.yml.ftl
0 → 100644
浏览文件 @
aa9b3639
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
<#assign bmogo=false>
<#if sys.getAllPSDataEntities()??>
<#list sys.getAllPSDataEntities() as de>
<#if de.getStorageMode()?? && de.getStorageMode()==2>
<#assign bmogo=true>
<#break >
</#if>
</#list>
</#if>
<#if bmogo==true>
version: "3.2"
services:
#{sys.name}-mongodb:
image: mongo:4.2.3
ports:
- 27017:27017
volumes:
- $PWD/../../../../volumes/mongodb/:/data/db/
networks:
- agent_network
networks:
agent_network:
attachable: true
</#if>
\ No newline at end of file
SLN/%PUBPRJ%-boot/src/main/docker/mysql.yml.ftl
0 → 100644
浏览文件 @
aa9b3639
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
<#assign dbUserName="root">
<#assign bflag=false>
<#if sys.getAllPSDevSlnMSDepAPIs()??>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if depSysApi.getPSDBDevInst()??>
<#assign sysApiDBInst=depSysApi.getPSDBDevInst()>
<#assign dbUserName=sysApiDBInst.getUserName()>
<#if (sysApiDBInst.getDBType()=='MYSQL5')>
<#assign bflag=true>
</#if>
<#break>
</#if>
</#list>
</#if>
<#if bflag==true>
version: "3.2"
services:
#{sys.name}-mysql:
image: mysql:5.7.20
volumes:
- $PWD/../../../../volumes/mysql/:/var/lib/mysql/
networks:
- agent_network
environment:
- TZ=Asia/Shanghai
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=${dbUserName}
ports:
- 3306:3306
command: mysqld --lower_case_table_names=1 --skip-ssl --character_set_server=utf8 --explicit_defaults_for_timestamp
networks:
agent_network:
attachable: true
</#if>
\ No newline at end of file
SLN/%PUBPRJ%-boot/src/main/docker/nacos.yml.ftl
0 → 100644
浏览文件 @
aa9b3639
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
version: "3.2"
services:
#{sys.name}-nacos:
image: nacos/nacos-server:latest
container_name: nacos-standalone
environment:
- PREFER_HOST_MODE=hostname
- MODE=standalone
ports:
- "8848:8848"
networks:
- agent_network
networks:
agent_network:
attachable: true
SLN/%PUBPRJ%-boot/src/main/docker/oracle.yml.ftl
0 → 100644
浏览文件 @
aa9b3639
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
<#assign bflag=false>
<#if sys.getAllPSDevSlnMSDepAPIs()??>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if depSysApi.getPSDBDevInst()??>
<#assign sysApiDBInst=depSysApi.getPSDBDevInst()>
<#if (sysApiDBInst.getDBType()=='ORACLE')>
<#assign bflag=true>
</#if>
<#break>
</#if>
</#list>
</#if>
<#if bflag==true>
version: "3.2"
services:
#{sys.name}-orcl:
image: liumiaocn/oracle:11.2.0
ports:
- "38080:8080"
- "1521:1521"
environment:
- DEFAULT_SYS_PASS=root
- processes=500
- sessions=555
- transactions=611
volumes:
- $PWD/../../../../volumes/orcl/:/u01/app/oracle/
networks:
- agent_network
networks:
agent_network:
attachable: true
</#if>
\ No newline at end of file
SLN/%PUBPRJ%-boot/src/main/docker/postgresql.yml.ftl
0 → 100644
浏览文件 @
aa9b3639
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
<#assign dbUserName="root">
<#assign bflag=false>
<#if sys.getAllPSDevSlnMSDepAPIs()??>
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if depSysApi.getPSDBDevInst()??>
<#assign sysApiDBInst=depSysApi.getPSDBDevInst()>
<#assign dbUserName=sysApiDBInst.getUserName()>
<#if (sysApiDBInst.getDBType()=='POSTGRESQL')>
<#assign bflag=true>
</#if>
<#break>
</#if>
</#list>
</#if>
<#if bflag==true>
version: "3.2"
services:
#{sys.name}-postgresql:
container_name: postgres
image: postgres
restart: always
environment:
POSTGRES_DB: ${dbUserName}
POSTGRES_USER: ${dbUserName}
POSTGRES_PASSWORD: root
ports:
- 5432:5432
volumes:
- $PWD/../../../../volumes/postgresql/:/var/lib/postgresql/data
networks:
- agent_network
networks:
agent_network:
attachable: true
</#if>
\ No newline at end of file
SLN/%PUBPRJ%-boot/src/main/docker/redis.yml.ftl
0 → 100644
浏览文件 @
aa9b3639
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
version: "3.2"
services:
#{sys.name}-redis:
image: redis
ports:
- 6379:6379
environment:
- TZ=Asia/Shanghai
logging:
driver: "json-file"
command: redis-server
networks:
- agent_network
networks:
agent_network:
attachable: true
SLN/%PUBPRJ%-provider/%PUBPRJ%-provider-%SYSAPI_PKGPATH%/src/main/docker/%PUBPRJ%-provider-%SYSAPI_PKGPATH%.yaml.ftl
浏览文件 @
aa9b3639
...
...
@@ -2,8 +2,8 @@
TARGET=PSSYSSERVICEAPI
</#ibiztemplate>
<#assign httpPort = "8081">
<#assign nacosUrl = "1
72.16.102.21
1:8848" >
<#assign redisHost = "1
72.16.100.243
" >
<#assign nacosUrl = "1
27.0.0.
1:8848" >
<#assign redisHost = "1
27.0.0.1
" >
<#assign redisPort = "6379" >
<#assign redisDataBase = "0" >
<#assign dbUserName="root">
...
...
@@ -18,8 +18,8 @@ TARGET=PSSYSSERVICEAPI
<#if depSysApi.getPSDCMSPlatformNode()??>
<#assign depSysApiPlatformNode=depSysApi.getPSDCMSPlatformNode()>
<#assign depSysApiPlatform=depSysApi.getPSDCMSPlatform()>
<#if depSysApiPlatform.getUserParam("nacos","1
72.16.102.21
1:8848")??>
<#assign nacosUrl = depSysApiPlatform.getUserParam("nacos","1
72.16.102.21
1:8848")>
<#if depSysApiPlatform.getUserParam("nacos","1
27.0.0.
1:8848")??>
<#assign nacosUrl = depSysApiPlatform.getUserParam("nacos","1
27.0.0.
1:8848")>
</#if>
<#if depSysApi.getUserParam("spring.redis.host","")?? && depSysApi.getUserParam("spring.redis.host","")!="">
<#assign redisHost = depSysApi.getUserParam("spring.redis.host","")>
...
...
SLN/%PUBPRJ%-util/src/main/resources/application-sys.yml.ftl
浏览文件 @
aa9b3639
...
...
@@ -2,12 +2,12 @@
TARGET=PSSYSTEM
</#ibiztemplate>
<#comment>通用配置文件</#comment>
<#assign nacosUrl = "1
72.16.102.21
1:8848" >
<#assign redisHost = "1
72.16.100.243
" >
<#assign nacosUrl = "1
27.0.0.
1:8848" >
<#assign redisHost = "1
27.0.0.1
" >
<#assign redisPort = "6379" >
<#assign redisDataBase = "0" >
<#assign dbUserName="root">
<#assign dbPassWord="
123456
">
<#assign dbPassWord="
root
">
<#assign dbUrl="jdbc:mysql://127.0.0.1:3306/"+sys.name+"?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true">
<#assign dbDriver="com.mysql.jdbc.Driver">
<#comment>前端应用微服务平台配置</#comment>
...
...
@@ -15,11 +15,11 @@ TARGET=PSSYSTEM
<#list sys.getAllPSDevSlnMSDepApps() as depApp>
<#if depApp.getPSDCMSPlatform()??>
<#assign appPlatform=depApp.getPSDCMSPlatform()>
<#if appPlatform.getUserParam("nacos","1
72.16.102.21
1:8848")??>
<#assign nacosUrl = appPlatform.getUserParam("nacos","1
72.16.102.21
1:8848")>
<#if appPlatform.getUserParam("nacos","1
27.0.0.
1:8848")??>
<#assign nacosUrl = appPlatform.getUserParam("nacos","1
27.0.0.
1:8848")>
</#if>
<#if appPlatform.getUserParam("spring.redis.host","1
72.16.100.243
")??>
<#assign redisHost = appPlatform.getUserParam("spring.redis.host","1
72.16.100.243
")>
<#if appPlatform.getUserParam("spring.redis.host","1
27.0.0.1
")??>
<#assign redisHost = appPlatform.getUserParam("spring.redis.host","1
27.0.0.1
")>
</#if>
<#if appPlatform.getUserParam("spring.redis.port","6379")??>
<#assign redisPort = appPlatform.getUserParam("spring.redis.port","6379")>
...
...
@@ -36,11 +36,11 @@ TARGET=PSSYSTEM
<#list sys.getAllPSDevSlnMSDepAPIs() as depSysApi>
<#if depSysApi.getPSDCMSPlatform()?? >
<#assign sysApiPlatform=depSysApi.getPSDCMSPlatform()>
<#if sysApiPlatform.getUserParam("nacos","1
72.16.102.21
1:8848")??>
<#assign nacosUrl = sysApiPlatform.getUserParam("nacos","1
72.16.102.21
1:8848")>
<#if sysApiPlatform.getUserParam("nacos","1
27.0.0.
1:8848")??>
<#assign nacosUrl = sysApiPlatform.getUserParam("nacos","1
27.0.0.
1:8848")>
</#if>
<#if sysApiPlatform.getUserParam("spring.redis.host","1
72.16.100.243
")??>
<#assign redisHost = sysApiPlatform.getUserParam("spring.redis.host","1
72.16.100.243
")>
<#if sysApiPlatform.getUserParam("spring.redis.host","1
27.0.0.1
")??>
<#assign redisHost = sysApiPlatform.getUserParam("spring.redis.host","1
27.0.0.1
")>
</#if>
<#if sysApiPlatform.getUserParam("spring.redis.port","6379")??>
<#assign redisPort = sysApiPlatform.getUserParam("spring.redis.port","6379")>
...
...
SLN/.gitignore.ftl
浏览文件 @
aa9b3639
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
*volumes
*target
.settings
*node_modules
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录