audioserve as a community app - simple audiobook docker | PlexGuide.com

audioserve as a community app - simple audiobook docker

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

stammbraeu

PG 2nd Lieutenant
Original poster
Staff
Donor
Mar 21, 2018
110
38
Hi

I really love Plex when it comes to movies and tv series but the audiobook support is still terrible

I tried booksonic but ended up just with errors and the project seems to be dead anyhow
I tried to use airsonic but as it is tailored for music its also not the best solution

I stumbled across the following article
and the connected github project

as it is already docker-ized - how tricky would it be to implement it in plexguide

I have no clue about docker and the internal magic of plexguide but maybe there is a guide/documentation of a different docker image being added to plexguide that i can try to adapt and replicate

or maybe someone has it already running

Any hints are highly appreciated

all the best
Stammbraeu
Post automatically merged:

i tried to do some steps on my own but i'm hitting some issues

i found "custom containers" which is exactly what i would need

First problem - the mentioned _template.yml does not exist - in fact the folder /opt/mycontainers is empty

i then searched for this issue - found a thread in the forum and downloaded the template file
which in turn looked similar to the one discussed in the wiki but also had some additional entries

and thats where i have no clue at all anymore - what has to be changed - what should be deleted cause it doesnt apply to my case and what has to stay in order to work

The only thing i can provide so far is:

Code:
    - name: 'Set Known Facts'
      set_fact:
        pgrole: 'audioserve'
        intport: '3000'
        extport: '3000'
        image: 'audioserve/audioserve'

any ideas?
 
Last edited:
  • Like
Reactions: kruptos

stammbraeu

PG 2nd Lieutenant
Original poster
Staff
Donor
Mar 21, 2018
110
38
So i managed it to adapt an existing yml so i can deploy the image - the install went through like expected but when i try to run audioserve i get an 404 error

thats the yml i created:

Code:
#!/bin/bash
#
# Title:      PGBlitz (jlesage/mediainfo)
# Author(s):  MrDoob
# URL:        https://pgblitz.com - http://github.pgblitz.com
# GNU:        General Public License v3.0
################################################################################
---
- hosts: localhost
  gather_facts: false
  tasks:
    # FACTS #######################################################################
    - name: 'audioserve'
      set_fact:
        pgrole: 'audioserve'
        intport: '3000'
        extport: '3000'
        image: 'izderadicka/audioserve'

    # CORE (MANDATORY) ############################################################
    - name: 'Including cron job'
      include_tasks: '/opt/communityapps/apps/_core.yml'

    # LABELS ######################################################################
    - name: 'Adding Traefik'
      set_fact:
        pg_labels:
          traefik.frontend.auth.forward.address: '{{gauth}}'
          traefik.enable: 'true'
          traefik.port: '{{intport}}'
          traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'

    - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/opt/appdata/{{pgrole}}:/config'
          - '{{path.stdout}}:{{path.stdout}}'
          - '/mnt/unionfs:/unionfs:rw'
          - '/mnt:/mnt:rw'
          - '/etc/localtime:/etc/localtime:ro'

    - name: 'Setting PG ENV'
      set_fact:
        pg_env:
          PUID: '1000'
          PGID: '1000'
          TZ: '${TZ}'

    # MAIN DEPLOYMENT #############################################################
    - name: 'Deploying {{pgrole}}'
      docker_container:
        name: '{{pgrole}}'
        image: '{{image}}'
        pull: yes
        published_ports:
          - '{{ports.stdout}}{{extport}}:{{intport}}'
        volumes: '{{pg_volumes}}'
        env: '{{pg_env}}'
        restart_policy: unless-stopped
        networks:
          - name: plexguide
            aliases:
              - '{{pgrole}}'
        state: started
        labels: '{{pg_labels}}'
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending