docker-compose.yml 585 Bytes
services:
  backend:
    build:
      context: .
      dockerfile: Dockerfile.dev
    ports:
      - "8082:8000"
    volumes:
      - ./app:/app/app
      - ./config:/app/config
      - ./skills:/app/skills
      - ./tests:/app/tests
    env_file:
      - path: .env
        required: false
    environment:
      - DATABASE_URL=${DATABASE_URL:-sqlite:///./dev.db}
      - IM_BASE_URL=${IM_BASE_URL:-http://yjy.dev.glsx.com.cn/webim}
      - USE_CONSOLE_IM=${USE_CONSOLE_IM:-false}
    depends_on:
      - im-service

  im-service:
    image: nginx:alpine
    ports:
      - "8083:80"