services:
  muleline:
    build: .
    container_name: muleline
    restart: unless-stopped
    ports:
      - "8510:8510"
    volumes:
      - ./data:/app/data
    env_file: .env
    environment:
      - MULELINE_DATA_DIR=/app/data

  community:
    build:
      context: .
      dockerfile: community/Dockerfile
    container_name: muleline-community
    restart: unless-stopped
    ports:
      - "8520:8520"
    volumes:
      - ./data:/app/data
    env_file: .env
    environment:
      - COMMUNITY_DATA_DIR=/app/data
