-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
389a6c7
commit a083d78
Showing
6 changed files
with
55 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
data |
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,27 +1,30 @@ | ||
version: "1" | ||
services: | ||
# flink: | ||
# image: registry.cn-hangzhou.aliyuncs.com/tis/flink:4.0.0.15 | ||
# hostname: flink | ||
# environment: | ||
# - FE_SERVERS=fe1:192.168.28.200:9010 | ||
# - FE_ID=1 | ||
# volumes: | ||
# - /data/fe/doris-meta/:/opt/apache-doris/fe/doris-meta/ | ||
# - /data/fe/log/:/opt/apache-doris/fe/log/ | ||
# - ./fe.conf:/opt/apache-doris/fe/conf/fe.conf | ||
# depends_on: | ||
# - tis-console | ||
flink: | ||
image: registry.cn-hangzhou.aliyuncs.com/tis/flink:4.0.0 | ||
hostname: flink | ||
mem_limit: 2048m | ||
cpus: '1.0' | ||
ports: | ||
- "8081:8081" | ||
command: ["/bin/bash","-c","./bin/start-cluster.sh && tail -f ./log/flink--standalonesession-0-*.log"] | ||
environment: | ||
- TZ=Asia/Shanghai | ||
depends_on: | ||
- tis-console | ||
tis-console: | ||
image: registry.cn-hangzhou.aliyuncs.com/tis/tis-console:4.0.0.15 | ||
image: registry.cn-hangzhou.aliyuncs.com/tis/tis-console:4.0.0 | ||
hostname: tis-console | ||
mem_limit: "1.5G" | ||
cpus: '2.5' | ||
environment: | ||
- TZ=Asia/Shanghai | ||
- JAVA_JVM_OPTS=-Xms512m -Xmx1G -XX:MetaspaceSize=100m -XX:MaxMetaspaceSize=300m | ||
ports: | ||
- "8080:8080" | ||
- "56432:56432" | ||
# environment: | ||
# - FE_SERVERS=fe1:192.168.28.200:9010 | ||
# - BE_ADDR=192.168.28.200:9050 | ||
volumes: | ||
- ${PWD}/config/config.properties:/opt/app/tis-uber/tjs/conf/tis-web-config/config.properties | ||
- ${PWD}/config/config.properties:/opt/app/tis-uber/tis-assemble/conf/tis-web-config/config.properties | ||
- ${PWD}/data:/opt/data | ||
- ${PWD}/data:/opt/data |
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,25 @@ | ||
#build by https://github.com/PowerJob/PowerJob/blob/master/powerjob-server/docker/Dockerfile | ||
FROM powerjob/powerjob-server:4.3.6 as origin | ||
|
||
|
||
|
||
FROM eclipse-temurin:8-jre-jammy | ||
ENV TZ=Asia/Shanghai | ||
|
||
|
||
ENV APP_NAME=powerjob-server | ||
# 传递 SpringBoot 启动参数 和 JVM参数 | ||
ENV PARAMS="" | ||
ENV JVMOPTIONS="" | ||
# 将应用 jar 包拷入 docker | ||
COPY --from=origin /powerjob-server.jar /powerjob-server.jar | ||
# 暴露端口(HTTP + AKKA + VertX) | ||
EXPOSE 7700 10086 10010 | ||
# 创建 docker 文件目录(盲猜这是用户目录) | ||
RUN mkdir -p /root/powerjob-server | ||
# 挂载数据卷,将文件直接输出到宿主机(注意,此处挂载的是匿名卷,即在宿主机位置随机) | ||
# VOLUME /root/powerjob | ||
# 启动应用 | ||
ENTRYPOINT ["sh","-c","java $JVMOPTIONS -jar /powerjob-server.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
docker build . -t registry.cn-hangzhou.aliyuncs.com/tis/powerjob-server:4.3.6 | ||
docker push registry.cn-hangzhou.aliyuncs.com/tis/powerjob-server:4.3.6 |
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