代码拉取完成,页面将自动刷新
开源医疗致力于以开源模式服务全国百万医疗卫生机构,助力中国普惠医疗数字化!欢迎更多生态合作伙伴加入和推广,共建开源医疗大生态。
go build
#如果你在 macOS 或 Linux 上开发,但想要生成 Windows 的 .exe 文件,则可以使用交叉编译。
GOOS=windows GOARCH=amd64 go build -o openhis-config.exe
克隆本项目,或下载本项目完整压缩包
git clone https://gitee.com/newtouch_code/oh-container-deploy.git
在Windows PowerShell
执行 openhis-config.exe
PS C:\Users\mohaijiang\GolandProjects\openhis-config-temp> .\openhis-config.exe
开始生成配置文件
61.172.179.6,30288
Directory: ./config
Directory: config\ApiManage
File temp: config\ApiManage\appsettings.json.tmpl
Template rendered and output file created.
Directory: config\AuthCenterAPI
File temp: config\AuthCenterAPI\appsettings.json.tmpl
Template rendered and output file created.
Directory: config\BaeAPI
Directory: config\BaeAPI\Configs
File temp: config\BaeAPI\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\BaeAPI\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\Base
Directory: config\Base\Configs
File temp: config\Base\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\Base\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\CIS
Directory: config\CIS\Configs
File temp: config\CIS\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\CIS\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\CISAPI
Directory: config\CISAPI\Configs
File temp: config\CISAPI\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\CISAPI\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\EMR
Directory: config\EMR\Configs
File temp: config\EMR\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\EMR\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\Herp
Directory: config\Herp\Configs
File temp: config\Herp\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\Herp\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\JobService
File temp: config\JobService\appsettings.json.tmpl
Template rendered and output file created.
Directory: config\MRMS
Directory: config\MRMS\Configs
File temp: config\MRMS\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\MRMS\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\MRQC
Directory: config\MRQC\Configs
File temp: config\MRQC\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\MRQC\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\OR
Directory: config\OR\Configs
File temp: config\OR\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\OR\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\PDS
Directory: config\PDS\Configs
File temp: config\PDS\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\PDS\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\PDSAPI
Directory: config\PDSAPI\Configs
File temp: config\PDSAPI\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\PDSAPI\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\Report
File temp: config\Report\appsettings.json.tmpl
Template rendered and output file created.
Directory: config\Sett
Directory: config\Sett\Configs
File temp: config\Sett\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\Sett\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\SettAPI
Directory: config\SettAPI\Configs
File temp: config\SettAPI\Configs\database.config.tmpl
Template rendered and output file created.
File temp: config\SettAPI\Configs\system.config.tmpl
Template rendered and output file created.
Directory: config\Union
File temp: config\Union\appsettings.json.tmpl
Template rendered and output file created.
Directory: config\his.baseapi
File temp: config\his.baseapi\appsettings.json.tmpl
Template rendered and output file created.
高阶使用方式
./openhis-config.exe replace -f ./variable.yaml
## 数据库连接地址
DatabaseHost: 61.172.179.6,30288
## 数据库用户名
DatabaseUser: sa
## 数据库密码
DatabasePassword: Abcd1234
## redis 连接地址
RedisHost: 61.172.179.6:32079
## redis 密码
RedisPassword: newtouch
## 服务暴露IP(公网IP,如不需要公网映射,直接填写内网IP即可):
PublicIP: 127.0.0.1
## 内网(局域网)IP
LanIP: 127.0.0.1
Services:
## 公网服务端口
PublicWebPort:
## 静态资源公网端口
Static: 8014
## 报表服务公网端口
Report: 8000
## 后台管理公网端口
Base: 8001
## 结算管理公网端口
Sett: 8002
## 医护协同公网端口
Cis: 8003
## 药房药库公网端口
Pds: 8004
## 电子病例公网端口
Emr: 8005
## 手术管理公网端口
Or: 8006
## 医疗资源管理公网端口
Herp: 8007
## 病案管理公网端口
Mrms: 8008
## 病例质控管理公网端口
Mrqc: 8009
## 任务调度公网端口
JobService: 8010
## 通知中心公网端口
NoticeCenter: 8011
## 认证接口公网端口
AuthCenterAPI: 8015
## 统一api公网端口
ApiManage: 8016
## 基础api公网端口
HisBaseAPI: 8017
## 联合工作站公网端口
Union: 8018
## 内网服务端口
LanWebPort:
## 静态资源内网端口
Static: 8014
## 报表服务内网端口
Report: 8000
## 后台管理内网端口
Base: 8001
## 结算管理内网端口
Sett: 8002
## 医护协同内网端口
Cis: 8003
## 药房药库内网端口
Pds: 8004
## 电子病例内网端口
Emr: 8005
## 手术管理内网端口
Or: 8006
## 医疗资源管理内网端口
Herp: 8007
## 病案管理内网端口
Mrms: 8008
## 病例质控管理内网端口
Mrqc: 8009
## 任务调度公网端口
JobService: 8010
## 通知中心公网端口
NoticeCenter: 8011
## 联合工作站内网端口
Union: 8018
## 后台管理API 内网端口
BaseAPI: 7001
## 结算管理API 内网端口
SettAPI: 7002
## 医护协同API 内网端口
CisAPI: 7003
## 药房药库API 内网端口
PdsAPI: 7004
## 手术管理API 内网端口
OrAPI: 7006
## 认证中心API 内网端口
AuthCenterAPI: 8015
## 统一API 内网端口
ApiManage: 8016
## 基础API 内网端口
HisBaseAPI: 8017
## 病例编辑器 内网端口
EmrEdit: 8020
本项目受Apache License 2.0保护。这意味着您可以自由使用、复制、修改和分发此软件,前提是您遵守许可证条款。有关完整的许可证文本,请参阅本项目根目录下的 LICENSE 文件。
版权所有 2024 武汉新致数字科技有限公司。保留所有权利。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。