Skip to main content

docker-compose

services:
   homebox:glances:
    container_name: glances  
    image: ghcr.io/sysadminsmedia/homebox:latestnicolargo/glances:ubuntu-latest-full    
    container_name: homebox
    restart: unless-stopped
    environment:ports:
      - HBOX_LOG_LEVEL=info7300:61208    
    - HBOX_LOG_FORMAT=text
    - HBOX_WEB_MAX_UPLOAD_SIZE=10
    - HBOX_OPTIONS_ALLOW_REGISTRATION=true #can be changed to false after first time registrationenvironment:
      - TZ=America/Santo_Domingo
      - GLANCES_OPT= -w --password # Glances option to run as a web server
    pid: host    
    restart: unless-stopped    
    volumes:
      - ./:var/run/docker.sock:/data/var/run/docker.sock:ro   
    ports:secrets:
      - 3100:7745source: volumes:glances_password
        homebox:target: driver:/root/.config/glances/glances.pwd

localsecrets:
  glances_password:
    file: ./secrets/glances_password