From e4bd38008a9b6885b0b706d659b7cd146d0f77d0 Mon Sep 17 00:00:00 2001 From: DrMxrcy Date: Fri, 31 Mar 2023 02:47:18 -0400 Subject: [PATCH] Update docker-compose.yml --- apps/gladys/docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/gladys/docker-compose.yml b/apps/gladys/docker-compose.yml index ce05d87b..8cdb4944 100644 --- a/apps/gladys/docker-compose.yml +++ b/apps/gladys/docker-compose.yml @@ -4,8 +4,9 @@ services: gladys: container_name: gladys image: gladysassistant/gladys:v4.18.0 - restart: unless-stopped - privileged: false + privileged: true + restart: on-failure + stop_grace_period: 1m network_mode: host environment: - NODE_ENV=production @@ -15,7 +16,7 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock - ${APP_DATA_DIR}/data/gladysassistant:/var/lib/gladysassistant - - ${APP_DATA_DIR}/data/dev:/dev + - /dev:/dev - /run/udev:/run/udev:ro labels: traefik.enable: ${APP_EXPOSED}