1 Star 0 Fork 458

Lbj虞/MyEMS能源管理系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose-on-linux.yml 1.04 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:
- /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:
- /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/lbjyu/myems.git
git@gitee.com:lbjyu/myems.git
lbjyu
myems
MyEMS能源管理系统
master

搜索帮助