From 76852b403bfe4fd8db45476cfdfcfcdfc902d320 Mon Sep 17 00:00:00 2001 From: wompmacho Date: Sat, 28 Mar 2026 23:13:35 +0000 Subject: [PATCH] adding audiobookshelf compose file and .gitignore --- .gitignore | 39 +++++++++++++++++++ .../audiobookshelf/docker-compose.yaml | 23 +++++++++++ 2 files changed, 62 insertions(+) create mode 100644 .gitignore create mode 100644 docker_compose/audiobookshelf/docker-compose.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..772ea72 --- /dev/null +++ b/.gitignore @@ -0,0 +1,39 @@ +# ------------------------------------------------------------------------------ +# SECRETS AND CREDENTIALS (NEVER COMMIT THESE) +# ------------------------------------------------------------------------------ + +# Environment variables (API keys, DB passwords, etc.) +.env +.env.* +!.env.example + +# Cloud Provider Credentials +.aws/ +.gcloud/ +.azure/ +credentials.json +client_secret.json + +# SSH and Encryption Keys +*.pem +*.key +*.pub +*.cert +*.crt +*.pfx +id_rsa +id_ecdsa + +# Digital Signatures and Keystores +*.jks +*.keystore +*.gpg + +# Local Development DBs (often contain real-ish data) +*.db +*.sqlite +dump.rdb + +# Package Manager Auth +.npmrc +.yarnrc \ No newline at end of file diff --git a/docker_compose/audiobookshelf/docker-compose.yaml b/docker_compose/audiobookshelf/docker-compose.yaml new file mode 100644 index 0000000..f50abf1 --- /dev/null +++ b/docker_compose/audiobookshelf/docker-compose.yaml @@ -0,0 +1,23 @@ +# Audiobookshelf: Book, Audiobook and podcast server +services: + audiobookshelf: + container_name: audiobookshelf + image: advplyr/audiobookshelf:latest + ports: + - 13378:80 + volumes: + - books_nfs:/audiobooks + - /srv/audiobookshelf/metadata:/metadata + - /srv/audiobookshelf/config:/config + environment: + - TZ=America/New_York + - PUID=1000 # Use your actual host UID + - PGID=1000 # Use your actual host GID + restart: unless-stopped +volumes: + books_nfs: + driver: local + driver_opts: + type: nfs + o: "addr=${NAS_IP_ADDR},nolock,soft,rw" + device: ":${NAS_MOUNT_PATH}"