Update docker-compose.yml
This commit is contained in:
parent
35c4b43fb4
commit
e4bd38008a
|
@ -4,8 +4,9 @@ services:
|
||||||
gladys:
|
gladys:
|
||||||
container_name: gladys
|
container_name: gladys
|
||||||
image: gladysassistant/gladys:v4.18.0
|
image: gladysassistant/gladys:v4.18.0
|
||||||
restart: unless-stopped
|
privileged: true
|
||||||
privileged: false
|
restart: on-failure
|
||||||
|
stop_grace_period: 1m
|
||||||
network_mode: host
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
|
@ -15,7 +16,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ${APP_DATA_DIR}/data/gladysassistant:/var/lib/gladysassistant
|
- ${APP_DATA_DIR}/data/gladysassistant:/var/lib/gladysassistant
|
||||||
- ${APP_DATA_DIR}/data/dev:/dev
|
- /dev:/dev
|
||||||
- /run/udev:/run/udev:ro
|
- /run/udev:/run/udev:ro
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: ${APP_EXPOSED}
|
traefik.enable: ${APP_EXPOSED}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user