services:
  qbittorrent:
    container_name: ${CONTAINER_NAME}
    restart: always
    networks:
      - 1panel-network
    environment:
        - UID=1000
        - GID=1000
        - PEER_PORT=${PEER_PORT_VALUE}
        - WEB_PORT=${PANEL_APP_PORT_HTTP}
    ports:
        - "${PEER_PORT_VALUE}:${PEER_PORT_VALUE}"
        - "${PEER_PORT_VALUE}:${PEER_PORT_VALUE}/udp"
        - "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
    volumes:
        - "./data/.config:/data/.config"
        - "./data/.local:/data/.local"
        - "${CACHE_PATH}:/data/.cache"
        - "${DOWNLOAD_PATH}:/data/downloads"
    image: "jarylc/qbittorrent:4.3.5_1.2.14"
    labels:  
      createdBy: "Apps"
   
networks:  
  1panel-network:  
    external: true