Skip to content

Commit

Permalink
fix: permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
fahminlb33 committed Oct 25, 2024
1 parent d42db46 commit 10a29ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/flame/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
networks:
- name: "{{ docker_network.name }}"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "{{ flame_config_dir.path }}:/app/data:rw"
env:
PASSWORD: "{{ flame_password }}"
Expand Down
4 changes: 2 additions & 2 deletions roles/prometheus/tasks/exporter-cadvisor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
name: exporter_cadvisor
image: "{{ prometheus_exporters.cadvisor.image }}"
recreate: true
user: "{{ docker_user.uid }}:{{ docker_user.gid }}"
# user: "{{ docker_user.uid }}:{{ docker_user.gid }}"
privileged: true
restart_policy: unless-stopped
published_ports:
Expand All @@ -20,7 +20,7 @@
volumes:
- /:/rootfs:ro
- /sys:/sys:ro
- /var/run:/var/run:rw
- /var/run:/var/run:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
devices:
Expand Down

0 comments on commit 10a29ba

Please sign in to comment.