https://github.com/leodpen/mtd_py_sidecar
to expose the interfaces of python.
https://github.com/leodpen/mtd_py_sidecar
Last synced: 2 months ago
JSON representation
to expose the interfaces of python.
- Host: GitHub
- URL: https://github.com/leodpen/mtd_py_sidecar
- Owner: LEODPEN
- Created: 2019-04-23T10:51:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T10:13:35.000Z (about 6 years ago)
- Last Synced: 2025-01-30T04:17:45.070Z (4 months ago)
- Language: Java
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mtd_py_sidecar
to expose the interfaces of python.## 用作将no jvm 语言服务注册到eureka 如node.js,python etc.
+ 版本为 Greenwich.SR1(RELEASE).
+ 端口8130,监听的端口为5000,关闭了config server,开启需修改bootstrap.yml文件
+ 坑点:docker内网ip不一,故localhost不一,需要具体到ip(我用的是手机热点的ip)
+ 启动py采用的是命令行(flask)python app.py runserver -h xxx.xxx.xxx.xxx -p 5000
### 获得使用版:
```
部署版,需要配合eureka:
docker pull leodpen/pyclient:latest
本地测试python端(no jvm语言)版:
docker pull leodpen/pyclient:localdocker run -p 8130:8130 -d leodpen/pyclient:{tag}
```