LokiStack = { Name: "LokiStack" Global: { Vars: {} ConfigFiles: [ { destination: /etc/hosts source: hosts.pktpl.hcl mode: 600 owner: root group: root } ] } Services: { Loki: { ConfigFiles: [ { destination: /etc/loki/loki-local-config.yaml source: loki-local-config.pktpl.hcl mode: 600 owner: loki service: loki group: grafana } ] Repositories: { Grafana: { type: helm name: grafana url: https://grafana.github.io/helm-charts enabled:true } AlpineTesting: { type: apk name: testing url: http://mirrors.bfsu.edu.cn/alpine/edge/testing enabled: true } } Packages: { loki: { name: loki action: install } promtail: { name: loki-promtail action: install } loki-helm: { type: helm name: loki repo: grafana/loki-simple-scalable } } Vars: { AuthEnabled: false User: loki Group: grafana HTTPPort: 3100 GRPCPort: 9096 AlertManagerURL: http://localhost:9093 StorageRoot: /var/loki SharedStore: filesystem ObjectStore: filesystem LogLevel: error S3: { URL: BucketName: APIKey: APISecretKey: } } Daemons: { Loki: { name: loki enabled: true } } Users: { loki: { username: loki group: grafana home : /srv/loki shell: /bin/nologin } } } Grafana: { ConfigFiles: [ { destination: /etc/grafana.ini source: grafana.ini.pktpl.hcl mode: 700 owner: grafana group: grafana } ] Packages: { grafana: { name: grafana action: install } } Vars: { AuthEnabled: false User: toto Group: grafana } Users: { grafana: { username: grafana group: grafana home: /srv/grafana shell: /bin/nologin } } Daemons: { grafana: { name: grafana type: auto enabled: true } } } } }