Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:audiobookshelf [2024/03/26 19:38] – willy | services:audiobookshelf [2024/08/06 13:21] (current) – [Installation] willy | ||
---|---|---|---|
Line 43: | Line 43: | ||
And then pull the images: | And then pull the images: | ||
- | <code bash | + | <code bash> |
su - audiobookshelf | su - audiobookshelf | ||
podman compose pull | podman compose pull | ||
</ | </ | ||
+ | ===== Reverse Proxy ===== | ||
+ | [[https:// | ||
+ | This is my recomended one for NGINX: | ||
+ | <file - audiobookshelf.conf> | ||
+ | server { | ||
+ | server_name podcast.gardiol.org; | ||
+ | listen 8443 ssl; # external access | ||
+ | listen 443 ssl; # internal access | ||
+ | |||
+ | access_log / | ||
+ | error_log / | ||
+ | |||
+ | location / { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | include org.certbot.conf; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Unfortunately AudioBookShelf at this time does not support yet sub-paths, so you will need to host it on a subdomain. | ||
+ | |||
+ | ===== Autostart ===== | ||
+ | |||
+ | To start it, and set it up on boot, as usual follow my indications [[gentoo: | ||
+ | < | ||
+ | ln -s / | ||
+ | </ | ||
+ | |||
+ | and create the following config file: | ||
+ | <file - / | ||
+ | USER=audiobookshelf | ||
+ | DESCRIPTION=" | ||
+ | </ | ||
+ | |||
+ | Add the service to the default runlevel and start it now: | ||
+ | <code bash> | ||
+ | rc-update add user-containers.audiobookshelf default | ||
+ | rc-service user-containers.audiobookshelf start | ||
+ | </ | ||
+ | |||
+ | ===== Upgrade ===== | ||
+ | |||
+ | Since it's using pdoman, stop the service then, as user **audiobookshelf**, | ||
+ | <code bash> | ||
+ | podman compose pull | ||
+ | </ | ||
+ | |||
+ | and restart the service. |