adding audiobookshelf compose file and .gitignore

This commit is contained in:
2026-03-28 23:13:35 +00:00
parent cc84939036
commit 76852b403b
2 changed files with 62 additions and 0 deletions

39
.gitignore vendored Normal file
View File

@@ -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

View File

@@ -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}"