1 Star 0 Fork 478

napole/MyEMS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose-on-linux.yml 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
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 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/napole/myems.git
git@gitee.com:napole/myems.git
napole
myems
MyEMS
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385