32 lines
843 B
YAML
32 lines
843 B
YAML
services:
|
|
app:
|
|
image: lscr.io/linuxserver/tautulli:${TAUTULLI_VERSION:-latest}
|
|
container_name: tautulli
|
|
environment:
|
|
- PUID=${TAUTULLI_PUID:-1000}
|
|
- PGID=${TAUTULLI_PGID:-1000}
|
|
- TZ=${TAUTULLI_TZ:-America/Los_Angeles}
|
|
volumes:
|
|
- tautulli-config:/config
|
|
ports:
|
|
- ${TAUTULLI_PORT:-8181}:8181
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-ILfSs", "http://localhost:8181/status"]
|
|
start_period: 90s
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
tautulli-config:
|
|
name: tautulli-config
|
|
driver: local
|
|
driver_opts:
|
|
type: nfs
|
|
o: "addr=${TAUTULLI_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4"
|
|
device: "${TAUTULLI_NFS_DEVICE}" |