国土档案
1.环境信息
- dev 开发环境
- test 测试环境
- prod 生产环境
2.服务器信息
Mysql服务器
16h32g 500g Centos7.8
- ip
66.1.21.157
- 用户名
root
- 密码
Jda!2t456
应用服务器+
16h32g 1000g Centos7.8
- ip
66.1.21.158
- 用户名
root
- 密码
Jda!2t456
3.配置文件
upload-file: #上传文件配置
server-file-url-prefix: http://127.0.0.1:${server.port} #文件下载地址(一般为本机ip)
file-root-directory: E:\cache # 文件存储根目录
archive-file-root-directory: E:\cache\archive # 档案文件根目录
4.部署命令:
docker镜像:
# 打包
docker build -t registry.cn-hangzhou.aliyuncs.com/8473136_guozhi/guihua_archive:20210314 .
# 运行
docker run -d --name guihua_archive \
-p 9091:9091 \
-v /home/archive-file:/home/archive-file \
-v /home/file:/home/file \
registry.cn-hangzhou.aliyuncs.com/8473136_guozhi/guihua_archive:20210314
其他