2025-03-19 15:04:57 +08:00

296 lines
6.5 KiB
YAML

version: "3.8"
services:
mall4cloud-auth:
build:
context: mall4cloud-auth
container_name: mall4cloud-auth
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9101
network_mode: "host"
image: mall4cloud-auth
restart: always
volumes:
- ./mall4cloud-auth:/opt/projects/mall4cloud
mall4cloud-biz:
build:
context: mall4cloud-biz
container_name: mall4cloud-biz
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9118
network_mode: "host"
image: mall4cloud-biz
restart: always
volumes:
- ./mall4cloud-biz:/opt/projects/mall4cloud
mall4cloud-marketing:
build:
context: mall4cloud-marketing
container_name: mall4cloud-marketing
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9109
network_mode: "host"
image: mall4cloud-marketing
restart: always
volumes:
- ./mall4cloud-marketing:/opt/projects/mall4cloud
mall4cloud-flow:
build:
context: mall4cloud-flow
container_name: mall4cloud-flow
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9116
network_mode: "host"
image: mall4cloud-flow
restart: always
volumes:
- ./mall4cloud-flow:/opt/projects/mall4cloud
mall4cloud-gateway:
build:
context: mall4cloud-gateway
container_name: mall4cloud-gateway
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 8000
network_mode: "host"
image: mall4cloud-gateway
restart: always
volumes:
- ./mall4cloud-gateway:/opt/projects/mall4cloud
mall4cloud-group:
build:
context: mall4cloud-group
container_name: mall4cloud-group
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9114
network_mode: "host"
image: mall4cloud-group
restart: always
volumes:
- ./mall4cloud-group:/opt/projects/mall4cloud
mall4cloud-im:
build:
context: mall4cloud-im
container_name: mall4cloud-im
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9120
network_mode: "host"
image: mall4cloud-im
restart: always
volumes:
- ./mall4cloud-im:/opt/projects/mall4cloud
mall4cloud-order:
build:
context: mall4cloud-order
container_name: mall4cloud-order
deploy:
resources:
limits:
memory: 1536M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9106
network_mode: "host"
image: mall4cloud-order
restart: always
volumes:
- ./mall4cloud-order:/opt/projects/mall4cloud
mall4cloud-payment:
build:
context: mall4cloud-payment
container_name: mall4cloud-payment
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9113
network_mode: "host"
image: mall4cloud-payment
restart: always
volumes:
- ./mall4cloud-payment:/opt/projects/mall4cloud
mall4cloud-admin:
build:
context: mall4cloud-admin
container_name: mall4cloud-admin
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9112
network_mode: "host"
image: mall4cloud-admin
restart: always
volumes:
- ./mall4cloud-admin:/opt/projects/mall4cloud
mall4cloud-product:
build:
context: mall4cloud-product
container_name: mall4cloud-product
deploy:
resources:
limits:
memory: 1536M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9104
network_mode: "host"
image: mall4cloud-product
restart: always
volumes:
- ./mall4cloud-product:/opt/projects/mall4cloud
mall4cloud-search:
build:
context: mall4cloud-search
container_name: mall4cloud-search
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9108
network_mode: "host"
image: mall4cloud-search
restart: always
volumes:
- ./mall4cloud-search:/opt/projects/mall4cloud
mall4cloud-seckill:
build:
context: mall4cloud-seckill
container_name: mall4cloud-seckill
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9115
network_mode: "host"
image: mall4cloud-seckill
restart: always
volumes:
- ./mall4cloud-seckill:/opt/projects/mall4cloud
mall4cloud-user:
build:
context: mall4cloud-user
container_name: mall4cloud-user
deploy:
resources:
limits:
memory: 768M
environment:
- NACOS_HOST=192.168.193.128
- NACOS_PORT=8848
- NACOS_PASSWORD=hn02le.34lkdLKD
- TZ=Asia/Shanghai
expose:
- 9105
network_mode: "host"
image: mall4cloud-user
restart: always
volumes:
- ./mall4cloud-user:/opt/projects/mall4cloud