https://github.com/yingzhuo/dockerimage-alibaba-nss
docker image for Nacos/Sentinel/Seata
https://github.com/yingzhuo/dockerimage-alibaba-nss
alibaba aliyun docker docker-compose docker-image nacos seata sentinel spring-boot spring-cloud
Last synced: 2 months ago
JSON representation
docker image for Nacos/Sentinel/Seata
- Host: GitHub
- URL: https://github.com/yingzhuo/dockerimage-alibaba-nss
- Owner: yingzhuo
- License: apache-2.0
- Created: 2023-04-20T21:21:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T01:02:38.000Z (about 3 years ago)
- Last Synced: 2025-03-16T11:11:52.068Z (over 1 year ago)
- Topics: alibaba, aliyun, docker, docker-compose, docker-image, nacos, seata, sentinel, spring-boot, spring-cloud
- Language: Dockerfile
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
== dockerimage-alibaba-NSS
=== 关于本项目
本项目用于通过 *docker-compose* 启动阿里巴巴旗下的link:https://nacos.io/[Nacos],link:https://sentinelguard.io/[Sentinel]以及link:https://seata.io/[Seata]三个重要服务。 +
此项目只适合开发环境或教学,*不推荐在生产环境使用*。
[cols="2,2,2,2,2"]
|====
| 服务 | 版本 | 端口 (宿主) | 口令:密码 | 说明
| MySQL | 8.0.33 | 3306 | root:root | 支持架构: linux/amd64,linux/arm64
| Nacos | 2.2.1 | 8848 | nacos:nacos | 支持架构: linux/amd64,linux/arm64
| Sentinel | 1.8.6 | 7777 | sentinel:sentinel | 支持架构: linux/amd64,linux/arm64
| Seata | 1.6.1 | 7091 | seata:seata | 支持架构: linux/amd64,linux/arm64
|====
=== 启动
[,bash]
----
# 下载本项目
git clone https://github.com/yingzhuo/dockerimage-alibaba-NSS.git
# 本项目作为工作目录
cd dockerimage-alibaba-NSS/
# 启动服务 (Daemon模式)
docker-compose up -d
# 查看服务状态
docker-compose ps
----
启动之后,您将得到上述四种服务的单例。细节如下:
* Nacos的数据由MySQL持久化
* Seata的数据由MySQL持久化
* Seata向Nacos注册
当所有服务启动后可以尝试做以下的事情:
* 初始化Nacos命名空间
* 使用Nacos保存Sentinel配置
* 使用Nacos保存Seata配置
=== 特别说明
* 关于Seata启动时的环境变量 *SEATA_IP* : 这里是广播地址,需要安装实际情况调整。
=== 许可证
* link:{docdir}/LICENSE[Apache-2.0]
=== Issues
请点击link:https://github.com/yingzhuo/dockerimage-alibaba-NSS/issues[这里]。
=== 联系我
* 微信: _yingzhor_
* QQ: _23007067_
* 电子邮件: _mailto:yingzhor@gmail.com[yingzhor@gmail.com]_