diff --git a/Tautulli/.env.example b/Tautulli/.env.example index c4233e6..4c2862b 100644 --- a/Tautulli/.env.example +++ b/Tautulli/.env.example @@ -13,6 +13,9 @@ TAUTULLI_TZ=America/Los_Angeles # Host port to expose the Tautulli web UI on TAUTULLI_PORT=8181 +# Bind mount path on the host for the Tautulli config directory (e.g. /opt/tautulli/config) +TAUTULLI_CONFIG_PATH= + # NFS server hostname or IP address TAUTULLI_NFS_SERVER= diff --git a/Tautulli/docker-compose-bind.yaml b/Tautulli/docker-compose-bind.yaml new file mode 100644 index 0000000..323070b --- /dev/null +++ b/Tautulli/docker-compose-bind.yaml @@ -0,0 +1,23 @@ +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_PATH}:/config + ports: + - ${TAUTULLI_PORT:-8181}:8181 + healthcheck: + test: ["CMD", "curl", "-ILfSs", "http://localhost:8181/status"] + start_period: 90s + interval: 30s + timeout: 10s + retries: 3 + deploy: + resources: + limits: + memory: 512M + restart: unless-stopped \ No newline at end of file