1 Star 16 Fork 35

清风自来/docker-compose

forked from kancy/docker-compose 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose-streamx.yml 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
kancy 提交于 2022-11-28 09:19 . update docker-compose-streamx.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 "wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-8.0.30.tar.gz && tar -zxvf mysql-connector-java-8.0.30.tar.gz && cp mysql-connector-java-8.0.30/mysql-connector-java-8.0.30.jar lib && bash bin/startup.sh"
ports:
- 10000:10000
environment:
- TZ="Asia/Shanghai"
- SPRING_PROFILES_ACTIVE=mysql
- SPRING_DATASOURCE_URL=jdbc:mysql://192.168.115.7:3306/streampark?useSSL=false&useUnicode=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=root123
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/debug211/docker-compose.git
[email protected]:debug211/docker-compose.git
debug211
docker-compose
docker-compose
master

搜索帮助