Let alertmanager run as its own user
It's already not-root, and can't access the filesystem anyway
This commit is contained in:
parent
3ed786336e
commit
6b4285a264
1 changed files with 0 additions and 1 deletions
|
@ -35,7 +35,6 @@ services:
|
||||||
alertmanager:
|
alertmanager:
|
||||||
image: prom/alertmanager:latest
|
image: prom/alertmanager:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
user: "{{ docker_user.id }}"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./alertmanager.yml:/etc/alertmanager/alertmanager.yml:ro
|
- ./alertmanager.yml:/etc/alertmanager/alertmanager.yml:ro
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue