networks:
  1panel-network:
    external: true

services:
  homarr:
    image: ghcr.io/ajnart/homarr:0.16.0
    container_name: ${CONTAINER_NAME}
    labels:
      createdBy: "Apps"
    restart: always
    networks:
      - 1panel-network
    ports:
      - ${PANEL_APP_PORT_HTTP}:7575
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ${HOMARR_ROOT_PATH}/configs:/app/data/configs
      - ${HOMARR_ROOT_PATH}/icons:/app/public/icons
      - ${HOMARR_ROOT_PATH}/data:/data
