Add version to config

This commit is contained in:
Mark Cooper 2021-08-17 17:51:07 -05:00
parent 033cc3ffe1
commit e1aa95af97
4 changed files with 11 additions and 9 deletions

View File

@ -1,7 +1,7 @@
{
"name": "audiobookshelf-client",
"version": "1.0.0",
"description": "",
"version": "0.9.1",
"description": "Audiobook manager and player",
"main": "index.js",
"scripts": {
"dev": "nuxt",
@ -25,4 +25,4 @@
"@nuxtjs/tailwindcss": "^4.2.1",
"postcss": "^8.3.6"
}
}
}

View File

@ -12,6 +12,8 @@
<div class="flex-grow" />
<ui-btn color="success" @click="scan">Scan</ui-btn>
</div>
<div class="h-0.5 bg-primary bg-opacity-50 w-full" />
<p class="font-mono">v{{ $config.version }}</p>
</div>
</div>
</template>

View File

@ -25,7 +25,7 @@
<Mode>bridge</Mode>
<Publish>
<Port>
<HostPort>3337</HostPort>
<HostPort>13378</HostPort>
<ContainerPort>80</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
@ -33,7 +33,7 @@
</Networking>
<Data>
<Volume>
<HostDir>/mnt/user/media/Audiobooks/</HostDir>
<HostDir/>
<ContainerDir>/audiobooks</ContainerDir>
<Mode>rw</Mode>
</Volume>
@ -50,8 +50,8 @@
</Data>
<Environment/>
<Labels/>
<Config Name="Audiobooks" Target="/audiobooks" Default="" Mode="rw" Description="Container Path: /audiobooks" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/media/Audiobooks/</Config>
<Config Name="Audiobooks" Target="/audiobooks" Default="" Mode="rw" Description="Container Path: /audiobooks" Type="Path" Display="always" Required="true" Mask="false" />
<Config Name="Config" Target="/config" Default="/mnt/user/appdata/audiobookshelf/config/" Mode="rw" Description="Container Path: /config" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/audiobookshelf/config/</Config>
<Config Name="Metadata" Target="/metadata" Default="/mnt/user/appdata/audiobookshelf/metadata/" Mode="rw" Description="Container Path: /metadata" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/audiobookshelf/metadata/</Config>
<Config Name="Web UI Port" Target="80" Default="3337" Mode="tcp" Description="Container Port: 80" Type="Port" Display="always" Required="false" Mask="false">3337</Config>
<Config Name="Web UI Port" Target="80" Default="13378" Mode="tcp" Description="Container Port: 80" Type="Port" Display="always" Required="false" Mask="false">13378</Config>
</Container>

View File

@ -1,6 +1,6 @@
{
"name": "audiobookshelf",
"version": "1.0.0",
"version": "0.9.1",
"description": "",
"main": "index.js",
"scripts": {
@ -23,4 +23,4 @@
"node-dir": "^0.1.17",
"socket.io": "^4.1.3"
}
}
}