services:
  mcsm-daemon:
    image: githubyumao/mcsmanager-daemon:latest
    container_name: ${CONTAINER_NAME}
    restart: unless-stopped
    networks:
      - 1panel-network
    ports:
      - "${PANEL_APP_PORT_HTTP}:24444"
    environment:
      - MCSM_DOCKER_WORKSPACE_PATH=./data/daemon/data/InstanceData 
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./data/daemon/data:/opt/mcsmanager/daemon/data
      - ./data/daemon/logs:/opt/mcsmanager/daemon/logs
      - /var/run/docker.sock:/var/run/docker.sock
    labels:  
      createdBy: "Apps"
networks:  
  1panel-network:  
    external: true