From 3daf939b32a4a66bd3cdef68cbd18683356fe22a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 25 Sep 2021 21:08:42 +0100 Subject: [PATCH] Update uptime-kuma container Now does user management itself --- ansible/roles/uptime_kuma/files/docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ansible/roles/uptime_kuma/files/docker-compose.yml b/ansible/roles/uptime_kuma/files/docker-compose.yml index e6955c1..54f81e2 100644 --- a/ansible/roles/uptime_kuma/files/docker-compose.yml +++ b/ansible/roles/uptime_kuma/files/docker-compose.yml @@ -2,9 +2,12 @@ version: "2.3" services: uptime-kuma: - image: louislam/uptime-kuma:1 + image: louislam/uptime-kuma:1-alpine restart: unless-stopped - user: "{{ docker_user.id }}:{{ docker_user.id }}" + environment: + - PUID={{ docker_user.id }} + - PGID={{ docker_user.id }} + - TZ={{ TZ }} volumes: - ./data:/app/data labels: