docker-compose.yml 572 Bytes
services:
  backend:
    build:
      context: .
      dockerfile: Dockerfile.dev
    ports:
      - "8000: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://im-service:80}
      - USE_CONSOLE_IM=${USE_CONSOLE_IM:-true}
    depends_on:
      - im-service

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