DigitalFactory/docker/README.md

26 lines
718 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 启动前准备
* 安装docker,docker-compose 环境
* 使用vs编译后台Admin.NET复制发布文件到*docker/app/*
* 如果服务器有node环境使用build.sh编译前端文件到 *docker/nginx/dist*。或者将编译结果放进 *docker/nginx/dist*
# 注意事项
1. *docker/app/Configuration/Database.json* 文件不需要修改,不要覆盖掉了
2. *app/Configuration/App.json* 主要配置了api端口5050如果你的端口也是这个可以覆盖
2. *Web/.env.production* 文件配置接口地址配置为 VITE\_API\_URL = '/prod-api'
3. nginxmysql配置文件无需修改
***
# 启动命令
`docker-compose up -d`
# 访问入口
***<http://ip:9100>***
***<https://ip:9103>***