29 lines
909 B
YAML
29 lines
909 B
YAML
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
gladys:
|
||
|
container_name: gladys
|
||
|
image: gladysassistant/gladys:v4
|
||
|
restart: unless-stopped
|
||
|
privileged: true
|
||
|
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
|
||
|
|
||
|
|