Glances.conf

65 views
Skip to first unread message

Yves Flammang

unread,
Jan 15, 2025, 9:37:51 AMJan 15
to Glances Users
Hi i am very new to glances :)

i got everything up and running under docker system.

but i cant get it to use my own config for glances.

my docker-compose looks like this

version: '3'
services:
  glances:
    hostname: 'glances'
    container_name: 'glances'
    image: 'nicolargo/glances:alpine-latest-full'
    restart: 'unless-stopped'
    pid: host
    environment:
      - 'TZ=europe/Berlin'
      - 'GLANCES_OPT=-w'
    volumes:
      - '/var/run/docker.sock:/var/run/docker.sock:ro'
      -' /opt/appdata/glances/glances.conf:/etc/glances.conf:ro'
-'/etc/os-release:/etc/os-release:ro'
    networks:
      - proxy
    labels:
      - 'traefik.enable=true'
      - 'traefik.docker.network=proxy'
      - 'dockupdater.enable=true'
      - 'traefik.http.routers.glances-rtr.entrypoints=https'
      - 'traefik.http.routers.glances-rtr.rule=Host(`glances.${DOMAIN}`)'
      - 'traefik.http.routers.glances-rtr.tls=true'
      - 'traefik.http.routers.glances-rtr.tls.certresolver=dns-cloudflare'
      - 'traefik.http.routers.glances-rtr.middlewares=chain-authelia@file'
      - 'traefik.http.routers.glances-rtr.service=glances-svc'
      - 'traefik.http.services.glances-svc.loadbalancer.server.port=61208'
networks:
  proxy:
    driver: bridge
    external: true

what do i miss?

thanks
Reply all
Reply to author
Forward
0 new messages