Update docker-compose.yml

This commit is contained in:
DrMxrcy 2023-03-31 02:47:18 -04:00
parent 35c4b43fb4
commit e4bd38008a

View File

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