加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.70 KB
一键复制 编辑 原始数据 按行查看 历史
Mr.Wang 提交于 2022-08-10 10:43 . init
version: '3'
services:
gateway:
build:
context: ./gateway
restart: always
ports:
- "9999:9999"
networks:
- yifan
volumes:
- "/docker_data/project/:/gateway/logs/"
container_name: gateway
hostname: gateway
image: gateway
auth:
build:
context: ./auth
restart: always
container_name: auth
depends_on:
- gateway
networks:
- yifan
volumes:
- "/docker_data/project/:/auth/logs/"
hostname: auth
image: auth
upms:
build:
context: ./upms/upms-biz
restart: always
container_name: upms
networks:
- yifan
depends_on:
- gateway
- auth
volumes:
- "/docker_data/project/:/upms-biz/logs/"
hostname: upms
image: upms
monitor:
build:
context: ./visual/monitor
restart: always
networks:
- yifan
ports:
- 5001:5001
volumes:
- "/docker_data/project/:/monitor/logs/"
container_name: monitor
hostname: monitor
image: monitor
sentinel:
build:
context: ./visual/sentinel-dashboard
restart: always
networks:
- yifan
image: sentinel
container_name: sentinel
ports:
- 5003:5003
codegen:
build:
context: ./visual/codegen
restart: always
networks:
- yifan
volumes:
- "/docker_data/project/:/codegen/logs/"
container_name: codegen
hostname: codegen
image: codegen
job:
build:
context: ./visual/xxl-job-admin
restart: always
container_name: job
networks:
- yifan
volumes:
- "/docker_data/project/:/xxl-job-admin/logs/"
hostname: job
image: job
ports:
- 5004:5004
networks:
yifan:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化