# volumeMounts:

#   - name: alloy-data
      #     mountPath: /var/lib/alloy/data
      # securityContext:
      #   runAsUser: 0
This commit is contained in:
miwr 2025-03-18 12:47:09 +01:00
parent 43b172d8d4
commit 8db5e5950d

View file

@ -4,17 +4,11 @@ server:
image: grafana/alloy:latest
ports:
- containerPort: 12345
# volumeMounts:
# - name: sidecar-container-alloy-config
# mountPath: /etc/alloy/config.yaml
# subPath: config.yaml
# args:
# - --config.file=/etc/alloy/config.yaml
volumeMounts:
- name: alloy-data
mountPath: /var/lib/alloy/data
securityContext:
runAsUser: 0
# volumeMounts:
# - name: alloy-data
# mountPath: /var/lib/alloy/data
# securityContext:
# runAsUser: 0
volumes:
- name: alloy-data