1. 调整侧边栏菜单的路由标题与图标,交换入口跟踪和物料跟踪的配置 2. 重构Material.vue页面:移除原有计划队列和产线跟踪总图,改为按设备分组的实时参数仪表盘 3. 简化页面脚本逻辑,移除多余的API调用和定时器 4. 统一页面样式类名,调整布局样式
36 lines
728 B
YAML
36 lines
728 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_DB: pickling_mes
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: password
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
command: uvicorn app.main:app --host 0.0.0.0 --port 8000
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
DATABASE_URL: postgresql+asyncpg://postgres:password@postgres:5432/pickling_mes
|
|
REDIS_URL: redis://redis:6379/0
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
volumes:
|
|
- ./backend:/app
|
|
|
|
volumes:
|
|
postgres_data:
|