62 lines
1.2 KiB
YAML
62 lines
1.2 KiB
YAML
version: "3.8"
|
|
|
|
# Sundynix Dev 环境
|
|
# 部署到 192.168.100.128
|
|
# 镜像从 Harbor 192.168.100.140 拉取
|
|
|
|
services:
|
|
system-rpc:
|
|
image: sundynix/system-rpc:latest
|
|
container_name: system-rpc
|
|
restart: always
|
|
ports:
|
|
- "9103:9103"
|
|
volumes:
|
|
- ./config/system-rpc.yaml:/app/etc/config.yaml
|
|
networks:
|
|
- sundynix
|
|
|
|
auth-api:
|
|
image: sundynix/auth-api:latest
|
|
container_name: auth-api
|
|
restart: always
|
|
ports:
|
|
- "9001:9001"
|
|
volumes:
|
|
- ./config/auth-api.yaml:/app/etc/config.yaml
|
|
depends_on:
|
|
- system-rpc
|
|
networks:
|
|
- sundynix
|
|
|
|
system-api:
|
|
image: sundynix/system-api:latest
|
|
container_name: system-api
|
|
restart: always
|
|
ports:
|
|
- "9003:9003"
|
|
volumes:
|
|
- ./config/system-api.yaml:/app/etc/config.yaml
|
|
depends_on:
|
|
- system-rpc
|
|
networks:
|
|
- sundynix
|
|
|
|
gateway:
|
|
image: sundynix/gateway:latest
|
|
container_name: gateway
|
|
restart: always
|
|
ports:
|
|
- "8888:8888"
|
|
volumes:
|
|
- ./config/gateway.yaml:/app/etc/config.yaml
|
|
depends_on:
|
|
- auth-api
|
|
- system-api
|
|
networks:
|
|
- sundynix
|
|
|
|
networks:
|
|
sundynix:
|
|
driver: bridge
|