You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
2.5 KiB
101 lines
2.5 KiB
# PROJECT: 康来生物有限公司kicc(智慧冷链)分布式架构平台 |
|
# VERSION: 1.0.0 |
|
# Author: 康来生物科技有限公司-王翔 |
|
|
|
# https://support.websoft9.com/docs/docker/zh/solution-compose.html#command |
|
version: '3' |
|
services: |
|
# register配置 |
|
kicc-register: |
|
build: |
|
context: ../kicc-register |
|
restart: always |
|
container_name: kicc-register |
|
hostname: kicc-register |
|
image: kicc-register |
|
ports: |
|
- 8848:8848 |
|
# 服务端口,注意通过阅读官方文档,发现nacos2.x使用docker部署时一定要保持映射端口一致 |
|
# 不一样会出现本地服务访问不了服务端nacos: https://nacos.io/zh-cn/docs/2.0.0-compatibility.html |
|
# 经过测试使用docker部署时候,还需要开启对应供应商服务器的防火墙端口,不开第三方外部客户端连不上,会报错 |
|
- 9848:9848 |
|
- 9849:9849 |
|
|
|
# rocketmq-dashboard配置 |
|
kicc-rocketmq: |
|
build: |
|
context: ../kicc-visual/kicc-rocketmq-dashboard |
|
container_name: kicc-rocketmq |
|
image: kicc-rocketmq-dashboard |
|
hostname: kicc-rocketmq |
|
restart: always |
|
ports: |
|
- 8058:8058 |
|
|
|
# sentinel-dashboard配置 |
|
kicc-sentinel: |
|
build: |
|
context: ../kicc-visual/kicc-sentinel-dashboard |
|
container_name: kicc-sentinel |
|
image: kicc-sentinel-dashboard |
|
hostname: kicc-sentinel |
|
restart: always |
|
ports: |
|
- 8056:8056 |
|
|
|
# xxl-job-admin配置 |
|
kicc-job: |
|
build: |
|
context: ../kicc-visual/kicc-xxl-job-admin |
|
container_name: kicc-job |
|
image: kicc-xxl-job-admin |
|
hostname: kicc-job |
|
restart: always |
|
ports: |
|
- 8057:8057 |
|
|
|
# spring-admin配置 |
|
kicc-monitor: |
|
build: |
|
context: ../kicc-visual/kicc-monitor |
|
container_name: kicc-monitor |
|
restart: always |
|
image: kicc-monitor |
|
hostname: kicc-monitor |
|
ports: |
|
- 8061:8061 |
|
|
|
# gateway配置 |
|
kicc-gateway: |
|
build: |
|
context: ../kicc-gateway |
|
container_name: kicc-gateway |
|
environment: |
|
GATEWAY_HOST: 120.26.168.56 |
|
image: kicc-gateway |
|
hostname: kicc-gateway |
|
restart: always |
|
ports: |
|
- 9999:9999 |
|
|
|
# oauth2.0配置 |
|
kicc-auth: |
|
build: |
|
context: ../kicc-auth |
|
container_name: kicc-auth |
|
image: kicc-auth |
|
hostname: kicc-auth |
|
restart: always |
|
ports: |
|
- 3000:3000 |
|
|
|
# system-biz配置 |
|
kicc-system: |
|
build: |
|
context: ../kicc-system/kicc-system-biz |
|
container_name: kicc-system |
|
image: kicc-system-biz |
|
hostname: kicc-system |
|
restart: always |
|
ports: |
|
- 4000:4000
|
|
|