- Add admin-web/ with Vite + Vue 3 + Element Plus + Vue Router - Add 8 management pages: dashboard, channel subject/account, conversation, person, tag, send record (with test send), inbound flow - Add API client modules for account/channel/crm/send/flow - Add Dockerfile and nginx config for admin-web - Add Dockerfile for mci-server - Add docker-compose.app.yml for one-command app deployment - Add K8s deployment manifests for backend/admin-web/channel-service - Update scripts/local-up.sh with shared network and --with-apps option
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
mci-server:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: mci-server/Dockerfile
|
|
container_name: mci-server
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- SPRING_PROFILES_ACTIVE=dev
|
|
- SPRING_DATASOURCE_URL=jdbc:mysql://mci-mysql:3306/sino_mci?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
|
|
- SPRING_DATASOURCE_USERNAME=root
|
|
- SPRING_DATASOURCE_PASSWORD=root
|
|
- SPRING_DATA_REDIS_HOST=mci-redis
|
|
- SPRING_RABBITMQ_HOST=mci-rabbitmq
|
|
depends_on:
|
|
- mci-mysql
|
|
- mci-redis
|
|
- mci-rabbitmq
|
|
networks:
|
|
- mci-network
|
|
|
|
admin-web:
|
|
build:
|
|
context: ./admin-web
|
|
dockerfile: Dockerfile
|
|
container_name: mci-admin-web
|
|
ports:
|
|
- "80:80"
|
|
depends_on:
|
|
- mci-server
|
|
networks:
|
|
- mci-network
|
|
|
|
channel-service:
|
|
build:
|
|
context: ./channel-service
|
|
dockerfile: Dockerfile
|
|
container_name: mci-channel-service
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- MCI_SERVER_URL=http://mci-server:8080/msg-platform
|
|
depends_on:
|
|
- mci-server
|
|
networks:
|
|
- mci-network
|
|
|
|
networks:
|
|
mci-network:
|
|
external: true
|