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}