mirror of
https://github.com/audiobookshelf/audiobookshelf-web.git
synced 2025-08-31 06:59:31 +02:00
Fix and cleanup docs styling
This commit is contained in:
parent
28da63ca0c
commit
1896f9ee26
5 changed files with 78 additions and 78 deletions
|
@ -1,14 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="install-docker-compose" class="py-10 md:py-20">
|
<div id="install-docker-compose" class="py-10 md:py-20">
|
||||||
<h1 class="text-xl md:text-3xl mb-4 md:-ml-8">
|
<h1 class="text-xl md:text-3xl mb-4 md:-ml-8">
|
||||||
<nuxt-link to="#install-docker-compose"><span class="material-icons text-lg md:text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
|
<nuxt-link to="#install-docker-compose"><span class="material-icons text-lg md:text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
|
||||||
>Docker-compose
|
>Docker-compose
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p class="mb-2 text-sm md:text-base">Multi-architecture image for amd64, arm64 and arm/v7</p>
|
<p class="mb-2 text-sm md:text-base">Multi-architecture image for amd64, arm64 and arm/v7</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<code class="language-bash">version: "3.7"
|
<code class="language-bash">version: "3.7"
|
||||||
services:
|
services:
|
||||||
audiobookshelf:
|
audiobookshelf:
|
||||||
image: ghcr.io/advplyr/audiobookshelf:latest
|
image: ghcr.io/advplyr/audiobookshelf:latest
|
||||||
|
@ -18,23 +18,20 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 13378:80
|
- 13378:80
|
||||||
volumes:
|
volumes:
|
||||||
- </path/to/your/audiobooks>:/audiobooks
|
- </path/to/config>:/audiobooks
|
||||||
- </path/to/your/podcasts>:/podcasts
|
- </path/to/config>:/podcasts
|
||||||
- </path/to/config>:/config
|
- </path/to/config>:/config
|
||||||
- </path/to/metadata>:/metadata
|
- </path/to/config>:/metadata</code>
|
||||||
|
</pre>
|
||||||
</code>
|
<p class="text-error">Note: Remember to change the path to your actual directory and remove the <> symbols</p>
|
||||||
</pre>
|
<p class="text-error">Note: Volume mappings should all be separate directories that are not contained in eachother.</p>
|
||||||
|
|
||||||
<p class="text-error">Note: Volume mappings should all be separate directories that are not contained in eachother.</p>
|
<p class="mt-2 mb-1 font-semibold text-lg">Volume mappings</p>
|
||||||
<!-- <p class="text-warning py-1">Unraid users: it is recommended that you map <span class="font-mono">/config</span> and <span class="font-mono">/metadata</span> to <span class="font-mono">/mnt/user/appdata/audiobookshelf/config</span> and <span class="font-mono">/mnt/user/appdata/audiobookshelf/metadata</span> respectively.</p> -->
|
<p>• <span class="font-mono">/config</span> will contain the database (users/books/libraries/settings)</p>
|
||||||
|
<p>• <span class="font-mono">/metadata</span> will contain cache, streams, covers, downloads, backups and logs</p>
|
||||||
|
<p>• Map any other directories you want to use for your book and podcast collections (ebooks supported as experimental)</p>
|
||||||
|
|
||||||
<p class="mt-2 mb-1 font-semibold text-lg">Volume mappings</p>
|
</div>
|
||||||
<p>• <span class="font-mono">/config</span> will contain the database (users/books/libraries/settings)</p>
|
|
||||||
<p>• <span class="font-mono">/metadata</span> will contain cache, streams, covers, downloads, backups and logs</p>
|
|
||||||
<p>• Map any other directories you want to use for your book and podcast collections (ebooks supported as experimental)</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,37 +1,38 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="install-docker" class="py-10 md:py-20">
|
<div id="install-docker" class="py-10 md:py-20">
|
||||||
<h1 class="text-xl md:text-3xl mb-4 md:-ml-8">
|
<h1 class="text-xl md:text-3xl mb-4 md:-ml-8">
|
||||||
<nuxt-link to="#install-docker"><span class="material-icons text-lg md:text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
|
<nuxt-link to="#install-docker"><span class="material-icons text-lg md:text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
|
||||||
>Docker
|
>Docker
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p class="mb-2 text-sm md:text-base">Multi-architecture image for amd64, arm64 and arm/v7</p>
|
<p class="mb-2 text-sm md:text-base">Multi-architecture image for amd64, arm64 and arm/v7</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<code class="language-bash">
|
<code class="language-bash">
|
||||||
docker pull ghcr.io/advplyr/audiobookshelf
|
docker pull ghcr.io/advplyr/audiobookshelf
|
||||||
|
|
||||||
docker run -d \
|
|
||||||
-e AUDIOBOOKSHELF_UID=99 \
|
|
||||||
-e AUDIOBOOKSHELF_GID=100 \
|
|
||||||
-p 13378:80 \
|
|
||||||
-v </path/to/config>:/config \
|
|
||||||
-v </path/to/metadata>:/metadata \
|
|
||||||
-v </path/to/audiobooks>:/audiobooks \
|
|
||||||
-v </path/to/podcasts>:/podcasts \
|
|
||||||
--name audiobookshelf \
|
|
||||||
--rm ghcr.io/advplyr/audiobookshelf</code>
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<p class="text-error">Note: Volume mappings should all be separate directories that are not contained in eachother.</p>
|
docker run -d \
|
||||||
<!-- <p class="text-warning py-1">Unraid users: it is recommended that you map <span class="font-mono">/config</span> and <span class="font-mono">/metadata</span> to <span class="font-mono">/mnt/user/appdata/audiobookshelf/config</span> and <span class="font-mono">/mnt/user/appdata/audiobookshelf/metadata</span> respectively.</p> -->
|
-e AUDIOBOOKSHELF_UID=99 \
|
||||||
|
-e AUDIOBOOKSHELF_GID=100 \
|
||||||
|
-p 13378:80 \
|
||||||
|
-v </path/to/config>:/config \
|
||||||
|
-v </path/to/metadata>:/metadata \
|
||||||
|
-v </path/to/audiobooks>:/audiobooks \
|
||||||
|
-v </path/to/podcasts>:/podcasts \
|
||||||
|
--name audiobookshelf \
|
||||||
|
--rm ghcr.io/advplyr/audiobookshelf</code>
|
||||||
|
</pre>
|
||||||
|
|
||||||
<p class="mt-2 mb-1 font-semibold text-lg">Volume mappings</p>
|
<p class="text-error">Note: Remember to change the path to your actual directory and remove the <> symbols</p>
|
||||||
<p>• <span class="font-mono">/config</span> will contain the database (users/books/libraries/settings)</p>
|
<p class="text-error">Note: Volume mappings should all be separate directories that are not contained in eachother</p>
|
||||||
<p>• <span class="font-mono">/metadata</span> will contain cache, streams, covers, downloads, backups and logs</p>
|
<p class="text-error">Note: Windows users will need to remove the \ and run this as a single line</p>
|
||||||
<p>• Map any other directories you want to use for your book and podcast collections (ebooks supported as experimental)</p>
|
|
||||||
|
|
||||||
</div>
|
<p class="mt-2 mb-1 font-semibold text-lg">Volume mappings</p>
|
||||||
|
<p>• <span class="font-mono">/config</span> will contain the database (users/books/libraries/settings)</p>
|
||||||
|
<p>• <span class="font-mono">/metadata</span> will contain cache, streams, covers, downloads, backups and logs</p>
|
||||||
|
<p>• Map any other directories you want to use for your book and podcast collections (ebooks supported as experimental)</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="updating-docker" class="py-10 md:py-20">
|
<div id="updating-docker" class="py-10 md:py-20">
|
||||||
<h1 class="text-xl md:text-3xl mb-4 md:-ml-8">
|
<h1 class="text-xl md:text-3xl mb-4 md:-ml-8">
|
||||||
<nuxt-link to="#updating-docker"><span class="material-icons text-lg md:text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
|
<nuxt-link to="#updating-docker"><span class="material-icons text-lg md:text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
|
||||||
>Docker
|
>Docker
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p class="mb-2 text-sm md:text-base">To update your Docker container to the latest version run the following commands</p>
|
<p class="mb-2 text-sm md:text-base">To update your Docker container to the latest version run the following commands</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<code class="language-bash">docker stop audiobookshelf
|
<code class="language-bash">docker stop audiobookshelf
|
||||||
docker rm audiobookshelf
|
docker rm audiobookshelf
|
||||||
docker image prune -a
|
docker image prune -a
|
||||||
docker pull ghcr.io/advplyr/audiobookshelf:latest
|
docker pull ghcr.io/advplyr/audiobookshelf:latest
|
||||||
docker start audiobookshelf</code>
|
# then use initial run command again</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -107,7 +107,11 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
methods: {},
|
methods: {},
|
||||||
mounted() {}
|
mounted() {
|
||||||
|
if (typeof Prism !== undefined) {
|
||||||
|
Prism.highlightAll()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ docker run -d \
|
||||||
<p class="mb-2 text-sm md:text-base">Multi-architecture image for amd64, arm64 and arm/v7. Also available in Unraid Community Apps.</p>
|
<p class="mb-2 text-sm md:text-base">Multi-architecture image for amd64, arm64 and arm/v7. Also available in Unraid Community Apps.</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<code class="language-bash">version: "3.7"
|
<code class="language-bash">version: "3.7"
|
||||||
services:
|
services:
|
||||||
audiobookshelf:
|
audiobookshelf:
|
||||||
image: ghcr.io/advplyr/audiobookshelf:latest
|
image: ghcr.io/advplyr/audiobookshelf:latest
|
||||||
|
@ -57,10 +57,8 @@ services:
|
||||||
- </path/to/config>:/audiobooks
|
- </path/to/config>:/audiobooks
|
||||||
- </path/to/config>:/podcasts
|
- </path/to/config>:/podcasts
|
||||||
- </path/to/config>:/config
|
- </path/to/config>:/config
|
||||||
- </path/to/config>:/metadata
|
- </path/to/config>:/metadata</code>
|
||||||
|
</pre>
|
||||||
</code>
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<p class="text-error">Note: Remember to change the path to your actual directory and remove the <> symbols </p>
|
<p class="text-error">Note: Remember to change the path to your actual directory and remove the <> symbols </p>
|
||||||
<p class="text-error">Note: Volume mappings should all be separate directories that are not contained in eachother.</p>
|
<p class="text-error">Note: Volume mappings should all be separate directories that are not contained in eachother.</p>
|
||||||
|
@ -82,13 +80,13 @@ services:
|
||||||
<span class="text-error">Note: Only for amd64 architecture</span>
|
<span class="text-error">Note: Only for amd64 architecture</span>
|
||||||
<p class="mb-2 mt-1 text-sm md:text-base">Will use config file <span class="bg-white bg-opacity-10 text-gray-100 rounded-md px-1 py-0.5 font-mono">/etc/default/audiobookshelf</span> if exists or create the following default config:</p>
|
<p class="mb-2 mt-1 text-sm md:text-base">Will use config file <span class="bg-white bg-opacity-10 text-gray-100 rounded-md px-1 py-0.5 font-mono">/etc/default/audiobookshelf</span> if exists or create the following default config:</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<code class="language-bash"> METADATA_PATH="/usr/share/audiobookshelf/metadata"
|
<code class="language-bash">METADATA_PATH="/usr/share/audiobookshelf/metadata"
|
||||||
CONFIG_PATH="/usr/share/audiobookshelf/config"
|
CONFIG_PATH="/usr/share/audiobookshelf/config"
|
||||||
FFMPEG_PATH="/usr/lib/audiobookshelf-ffmpeg/ffmpeg"
|
FFMPEG_PATH="/usr/lib/audiobookshelf-ffmpeg/ffmpeg"
|
||||||
FFPROBE_PATH="/usr/lib/audiobookshelf-ffmpeg/ffprobe"
|
FFPROBE_PATH="/usr/lib/audiobookshelf-ffmpeg/ffprobe"
|
||||||
PORT=7331</code>
|
PORT=7331</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue