docker-compose.prod.yml 591 Bytes
services:
  backend:
    build:
      context: .
      dockerfile: Dockerfile.prod
    ports:
      - "8082:8082"
    volumes: []
    env_file:
      - path: .env
        required: false
    environment:
      - DATABASE_URL=${DATABASE_URL}
      - IM_BASE_URL=${IM_BASE_URL:-http://yjy.dev.glsx.com.cn/webim}
      - USE_CONSOLE_IM=${USE_CONSOLE_IM:-false}
      - DOWNSTREAM_CHAT_HOST=127.0.0.1
      - DOWNSTREAM_CHAT_PORT=8082
    restart: always
    deploy:
      resources:
        limits:
          memory: 2G
          cpus: "2.0"

  im-service:
    image: ${IM_IMAGE:-nginx:alpine}