加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 885 Bytes
一键复制 编辑 原始数据 按行查看 历史
cow11023 提交于 2023-06-22 07:33 . Update docker-compose.yml
version: '3.9'
networks:
basic:
services:
front:
# build:
# context: ./
# dockerfile: Dockerfile
# target: front
container_name: greaterwms_front
image: greaterwms/greaterwms:front
restart: always
privileged: true
ports:
- '8080:8080'
depends_on:
- backend
volumes:
- ./templates:/GreaterWMS/templates:rw
- ./web_start.sh:/GreaterWMS/templates/web_start.sh
networks:
- basic
backend:
# build:
# context: ./
# dockerfile: Dockerfile
# target: backend
container_name: greaterwms_backend
image: greaterwms/greaterwms:backend
restart: always
privileged: true
volumes:
- ./:/GreaterWMS/:rw
- ./supervisord.conf:/etc/supervisor/supervisord.conf
ports:
- '8008:8008'
environment:
PYTHONUNBUFFERED: 1
networks:
- basic
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化