1 Star 0 Fork 466

特兰克斯-Peter/MyEMS能源管理系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose-on-windows.yml 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
张能远 提交于 2023-02-15 11:59 . all new commit
version: '3.8'
services:
api:
build: ./myems-api
command: gunicorn app:api -b 0.0.0.0:8000 --timeout 600 --workers=4
volumes:
- c:\myems-upload:/var/www/myems-admin/upload
restart: always
ports:
- "8000:8000"
aggregation:
build: ./myems-aggregation
command: python main.py
restart: always
cleaning:
build: ./myems-cleaning
command: python main.py
restart: always
modbus_tcp:
build: ./myems-modbus-tcp
command: python main.py
restart: always
normalization:
build: ./myems-normalization
command: python main.py
restart: always
admin:
build: ./myems-admin
command: nginx -c /etc/nginx/nginx.conf -g "daemon off;"
healthcheck:
test: [ "CMD","nginx","-t" ]
volumes:
- c:\myems-upload:/var/www/myems-admin/upload
restart: always
ports:
- "8001:8001"
web:
build: ./myems-web
command: nginx -c /etc/nginx/nginx.conf -g "daemon off;"
healthcheck:
test: [ "CMD","nginx","-t" ]
restart: always
ports:
- "80:80"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/fly1900/myems.git
git@gitee.com:fly1900/myems.git
fly1900
myems
MyEMS能源管理系统
master

搜索帮助