-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request !232 from 码匠君/develop
- Loading branch information
Showing
46 changed files
with
596 additions
and
554 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
configurations/docker/context/development/Dockerfile-Monitor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Docker image for herodotus-cloud application | ||
# VERSION 1.0.0 | ||
# Author: herodotus | ||
|
||
### 基础镜像,使用debian操作系统,使用 liberica-openjdk | ||
### 本系统涉及图形验证码,有字体需求,而且采用的是非系统字体。 | ||
### 在 alpine 下,尝试了包括打包字体库、自己拷贝字体、重新封装JDK,更换读取字体等多种方式。 | ||
### 不管是将字体打包进镜像直接读取,还是通过读取jar包中的 resources 目录,可以实现字体文件的读取。但是在 Font.createFont() 过程中,始终出现 sun.awt.FontConfiguration.getVersion NullPointerException 问题。 | ||
### 在 debian 下则没有这问题。以目前了解的情况看,猜测 alpine 下,为了缩小体系,缺失的内容应该不只是字体库,还有其它内容。 | ||
### 当然也可能是个人能力有限,一直没有找到正确解决的办法。如果你有更好的解决办法,欢迎提 ISSUE 和 PR。 | ||
|
||
FROM quay.io/herodotus-cloud/liberica-openjdk-debian:17.0.11-10 | ||
#FROM openjdk:17-jdk | ||
# 作者 | ||
MAINTAINER herodotus <herodotus@aliyun.com> | ||
|
||
#定义参数(build构建时使用) | ||
ARG VERSION | ||
ARG SERVICE_NAME | ||
ARG SERVICE_PORT | ||
|
||
# 系统编码 | ||
#设置环境变量(程序运行时使用) | ||
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 | ||
ENV JAVA_OPTS="" | ||
ENV PARAMS="" | ||
ENV VERSION=$VERSION | ||
ENV SERVICE_NAME=$SERVICE_NAME | ||
ENV SERVICE_PORT=$SERVICE_PORT | ||
|
||
#工作目录 | ||
WORKDIR /usr/local/ | ||
|
||
# 声明一个挂载点,容器内此路径会对应宿主机的某个文件夹 | ||
VOLUME ["/usr/local/logs"] | ||
|
||
# 应用构建成功后的jar文件被复制到镜像内,名字也改成了app.jar | ||
ADD ./target/${SERVICE_NAME}-${VERSION}.jar app.jar | ||
|
||
# 声明运行时端口 | ||
EXPOSE ${SERVICE_PORT} | ||
|
||
# 启动容器时的进程 | ||
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar app.jar $PARAMS"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,28 @@ | ||
VERSION=3.3.1.0 | ||
GATEWAY_SERVICE_NAME=dante-cloud-gateway | ||
VERSION=3.3.1.1 | ||
SPRING_PROFILES_ACTIVE=alibaba | ||
PROFILE=development | ||
DATABASE=postgresql | ||
ALIBABA_USERNAME=nacos | ||
ALIBABA_PASSWORD=nacos | ||
# ALIBABA_NAMESPACE=00a14001-348d-40a7-82aa-e2e032f6e03c | ||
ALIBABA_CONFIG_SERVER_ADDR=192.168.101.10:8848 | ||
ALIBABA_DISCOVERY_SERVER_ADDR=192.168.101.10:8848 | ||
ALIBABA_SENTINEL_SERVER_ADDR=192.168.101.10:8858 | ||
GATEWAY_SERVICE_NAME=herodotus-cloud-gateway | ||
GATEWAY_SERVICE_PORT=8847 | ||
UAA_SERVICE_NAME=dante-cloud-uaa | ||
UAA_SERVICE_NAME=herodotus-cloud-uaa | ||
UAA_SERVICE_PORT=8846 | ||
MONITOR_SERVICE_NAME=dante-cloud-monitor | ||
MONITOR_SERVICE_NAME=herodotus-cloud-monitor | ||
MONITOR_SERVICE_PORT=8845 | ||
MANAGEMENT_SERVICE_NAME=dante-cloud-management | ||
MANAGEMENT_SERVICE_NAME=herodotus-cloud-management | ||
MANAGEMENT_SERVICE_PORT=8843 | ||
UPMS_SERVICE_NAME=dante-cloud-upms | ||
UPMS_SERVICE_NAME=herodotus-cloud-upms | ||
UPMS_SERVICE_PORT=7070 | ||
MESSAGE_SERVICE_NAME=dante-cloud-message | ||
MESSAGE_SERVICE_NAME=herodotus-cloud-message | ||
MESSAGE_SERVICE_PORT=7071 | ||
BPMN_SERVICE_NAME=dante-cloud-bpmn-ability | ||
BPMN_SERVICE_NAME=herodotus-cloud-bpmn-ability | ||
BPMN_SERVICE_PORT=7072 | ||
OSS_SERVICE_NAME=dante-cloud-oss-ability | ||
OSS_SERVICE_NAME=herodotus-cloud-oss-ability | ||
OSS_SERVICE_PORT=7073 | ||
INFLUXDB_USERNAME=herodotus | ||
INFLUXDB_PASSWORD=herodotus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 0 additions & 47 deletions
47
configurations/docker/docker-compose/linux/herodotus/env.example.debezium.yml
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
configurations/docker/docker-compose/linux/herodotus/env.oss.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.