Files
AILab/server/docker/docker-compose.yaml
T

35 lines
708 B
YAML

x-kong-config:
&kong-env
KONG_DATABASE: postgres
KONG_PG_HOST: postgres
KONG_PG_DATABASE: kong
KONG_PG_USER: postgres
KONG_PG_PASSWORD: 123456
services:
# ---------- Vue 前端 ----------
vue:
container_name: ce_vue
image: s1.ronsunny.cn:13011/bbit_ai/ce_vue:latest
networks:
- ce_network
restart: always
# ---------- Python 后端 ----------
backend:
container_name: ce_pybackend
image: s1.ronsunny.cn:13011/bbit_ai/ce_pybackend:latest
networks:
- ce_network
restart: unless-stopped
depends_on:
- vue
extra_hosts:
- "s1.ronsunny.cn:10.10.10.9"
# ---------- 网络 ----------
networks:
ce_network:
external: true