app-store/apps/gladys/docker-compose.yml

29 lines
917 B
YAML
Raw Permalink Normal View History

2023-04-03 21:25:19 +00:00
version: '3'
2023-03-31 06:27:07 +00:00
services:
gladys:
container_name: gladys
image: gladysassistant/gladys:v4.44.0
2023-03-31 06:47:18 +00:00
privileged: true
restart: on-failure
stop_grace_period: 1m
2023-03-31 06:27:07 +00:00
network_mode: host
environment:
2023-04-03 21:25:19 +00:00
- NODE_ENV=production
- SERVER_PORT=8270
- TZ=${TZ}
- SQLITE_FILE_PATH=/var/lib/gladysassistant/gladys-production.db
2023-03-31 06:27:07 +00:00
volumes:
2023-04-03 21:25:19 +00:00
- /var/run/docker.sock:/var/run/docker.sock
- ${APP_DATA_DIR}/data/gladysassistant:/var/lib/gladysassistant
- /dev:/dev
- /run/udev:/run/udev:ro
2023-03-31 06:53:55 +00:00
# Not Exposing like Home Assitant
2023-04-03 21:25:19 +00:00
#labels:
#traefik.enable: ${APP_EXPOSED}
#traefik.http.routers.gladys.rule: Host(`${APP_DOMAIN}`)
#traefik.http.routers.gladys.entrypoints: websecure
#traefik.http.routers.gladys.service: gladys
#traefik.http.routers.gladys.tls.certresolver: myresolver
#traefik.http.services.gladys.loadbalancer.server.port: 8270