mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 10:51:37 +00:00
updated prod compose to point to correct repo
This commit is contained in:
parent
32b212b98d
commit
2fd6809624
1 changed files with 27 additions and 13 deletions
|
|
@ -3,25 +3,28 @@ version: '3.8'
|
||||||
services:
|
services:
|
||||||
audiobookshelf:
|
audiobookshelf:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: https://github.com/zipben/audiobookshelf.git#workingitout
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: audiobookshelf
|
container_name: audiobookshelf
|
||||||
ports:
|
ports:
|
||||||
- "7696:80" # The app will be available on port 13378
|
- "7696:80" # The app will be available on port 7696
|
||||||
volumes:
|
volumes:
|
||||||
# Main storage volumes
|
# Named volumes for persistent data
|
||||||
- ./audiobooks:/audiobooks # Your audiobooks directory
|
- audiobooks:/audiobooks
|
||||||
- ./podcasts:/podcasts # Your podcasts directory
|
- podcasts:/podcasts
|
||||||
- ./metadata:/metadata # Metadata storage
|
- metadata:/metadata
|
||||||
- ./config:/config # Configuration files
|
- config:/config
|
||||||
- /Users/benjamindonaldson/Downloads:/libraries # Additional libraries directory (customize this path)
|
# Mount point for external libraries - customize this path in Portainer
|
||||||
|
- type: bind
|
||||||
|
source: /path/to/your/libraries
|
||||||
|
target: /libraries
|
||||||
environment:
|
environment:
|
||||||
- TZ=America/New_York # Set your timezone
|
- TZ=America/New_York # Set your timezone
|
||||||
- PUID=1000 # Set to your user ID (optional)
|
- PUID=1000 # User ID for permissions
|
||||||
- PGID=1000 # Set to your group ID (optional)
|
- PGID=1000 # Group ID for permissions
|
||||||
# Additional optional environment variables:
|
# Optional environment variables
|
||||||
# - PORT=80 # Internal port (don't change unless necessary)
|
- PORT=80 # Internal port (don't change unless necessary)
|
||||||
# - HOST=0.0.0.0 # Listen on all interfaces
|
- HOST=0.0.0.0 # Listen on all interfaces
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- abs_network
|
- abs_network
|
||||||
|
|
@ -35,3 +38,14 @@ services:
|
||||||
networks:
|
networks:
|
||||||
abs_network:
|
abs_network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
# Define named volumes - these will be created automatically
|
||||||
|
audiobooks:
|
||||||
|
name: audiobookshelf_audiobooks
|
||||||
|
podcasts:
|
||||||
|
name: audiobookshelf_podcasts
|
||||||
|
metadata:
|
||||||
|
name: audiobookshelf_metadata
|
||||||
|
config:
|
||||||
|
name: audiobookshelf_config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue