services: glances: image: nicolargo/glances:latest container_name: glances restart: unless-stopped pid: host ports: - 61208:61208 environment: - GLANCES_OPT=-w - TZ=Europe/Berlin volumes: - /var/run/docker.sock:/var/run/docker.sock:ro networks: - vps_network deploy: resources: limits: cpus: '0.5' memory: 512M logging: driver: "json-file" options: max-size: "10m" max-file: "3" networks: vps_network: external: true name: vps_network