audiobookshelf.audiobookshe.../components/docs/install/DockerCompose.vue

46 lines
1.6 KiB
Vue
Raw Normal View History

2022-05-28 16:59:54 -05:00
<template>
2022-08-08 18:00:25 -05:00
<div id="install-docker-compose" class="py-10 md:py-20">
<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
>Docker-compose
</h1>
2022-05-28 16:59:54 -05:00
2022-08-08 18:00:25 -05:00
<p class="mb-2 text-sm md:text-base">Multi-architecture image for amd64, arm64 and arm/v7</p>
2022-05-28 16:59:54 -05:00
2022-08-08 18:00:25 -05:00
<pre>
<code class="language-bash">version: "3.7"
2022-05-28 16:59:54 -05:00
services:
audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf:latest
environment:
- AUDIOBOOKSHELF_UID=99
- AUDIOBOOKSHELF_GID=100
ports:
- 13378:80
volumes:
- &lt;/path/to/audiobooks>:/audiobooks
- &lt;/path/to/podcasts>:/podcasts
2022-08-08 18:00:25 -05:00
- &lt;/path/to/config>:/config
- &lt;/path/to/metadata>:/metadata</code>
2022-08-08 18:00:25 -05:00
</pre>
<p class="text-error">Note: Remember to change the path to your actual directory and remove the &#60;&#62; symbols</p>
<p class="text-error">Note: Volume mappings should all be separate directories that are not contained in eachother.</p>
2022-05-28 16:59:54 -05:00
2022-08-08 18:00:25 -05:00
<p class="mt-2 mb-1 font-semibold text-lg">Volume mappings</p>
<p> &nbsp;<span class="font-mono">/config</span> will contain the database (users/books/libraries/settings)</p>
<p> &nbsp;<span class="font-mono">/metadata</span> will contain cache, streams, covers, downloads, backups and logs</p>
<p> &nbsp;Map any other directories you want to use for your book and podcast collections (ebooks supported as experimental)</p>
2022-05-28 16:59:54 -05:00
2022-08-08 18:00:25 -05:00
</div>
2022-05-28 16:59:54 -05:00
</template>
<script>
export default {
data() {
return {}
},
computed: {},
methods: {},
mounted() {}
}
</script>