Let alertmanager run as its own user

It's already not-root, and can't access the filesystem anyway
This commit is contained in:
Jake Howard 2023-11-01 22:13:37 +00:00
parent 3ed786336e
commit 6b4285a264
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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