1 Star 0 Fork 35

懒懒的码农/docker-compose

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose-streamx-h2.yml 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
kancy 提交于 2022-11-28 09:20 . add docker-compose-streamx-h2.yml.
#ref: https://github.com/apache/incubator-streampark/tree/dev/deploy/docker
version: '3'
services:
streampark-server:
image: apache/streampark:latest
command: /bin/sh -c "bash bin/startup.sh"
ports:
- 10000:10000
environment:
- TZ="Asia/Shanghai"
- SPRING_PROFILES_ACTIVE=h2
volumes:
- flink:/streampark/flink/flink1.14.5
- /var/run/docker.sock:/var/run/docker.sock
- /etc/hosts:/etc/hosts:ro
- ~/data/docker_file/streampark/.kube:/root/.kube:ro
privileged: true
restart: unless-stopped
networks:
- streampark
jobmanager:
image: flink:1.14.5-scala_2.12
ports:
- "8081:8081"
command: jobmanager
volumes:
- flink:/opt/flink
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
restart: unless-stopped
privileged: true
networks:
- streampark
taskmanager:
image: flink:1.14.5-scala_2.12
depends_on:
- jobmanager
command: taskmanager
deploy:
replicas: 1
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
restart: unless-stopped
privileged: true
networks:
- streampark
networks:
streampark:
driver: bridge
volumes:
flink:
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/FengChueng/docker-compose.git
[email protected]:FengChueng/docker-compose.git
FengChueng
docker-compose
docker-compose
master

搜索帮助