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

29 lines
915 B
YAML
Raw Normal View History

2023-03-31 06:27:07 +00:00
version: "3"
services:
gladys:
container_name: gladys
2023-03-31 06:44:44 +00:00
image: gladysassistant/gladys:v4.18.0
2023-03-31 06:27:07 +00:00
restart: unless-stopped
2023-03-31 06:44:44 +00:00
privileged: false
2023-03-31 06:27:07 +00:00
network_mode: host
environment:
- NODE_ENV=production
- SERVER_PORT=8270
- TZ=${TZ}
- SQLITE_FILE_PATH=/var/lib/gladysassistant/gladys-production.db
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${APP_DATA_DIR}/data/gladysassistant:/var/lib/gladysassistant
- ${APP_DATA_DIR}/data/dev:/dev
- /run/udev:/run/udev:ro
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