Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Installing on Unraid

Jono Cairns edited this page Dec 30, 2019 · 5 revisions

Requirements:

  1. Postgres
  2. Auth0
    • Sign up for an account if you don't have one already
    • Navigate to the dashboard and select 'Applications' on the left side nav.
    • Select 'create application'
    • Choose 'Single page web application' and give it a name like 'Aubri'
    • Once created, select the 'settings' tab for the freshly created application.
    • Copy the Client ID and Domain, we'll use those shortly.
    • On the side nav, select 'APIs', then select 'Create API'
    • Give it a name like aubri API and set the identifier to be something like https://aubri.yourdomain.com
    • Once that's created copy the API Audience value on the APIs page for the API you just created. '3. Manually add jonocairns/aubri:latest docker image
    • Map a container path to /host/machine/audiobooks -> /usr/src/app/data
    • Set container variable DATABASE_URL to the postgres connection string e.g. postgres://user:[email protected]/aubri
    • Set container PORT to 6969
    • Set variable REACT_APP_AUTH0_DOMAIN to your auth0 domain e.g. appname.auth0.com (this can be appname.au.auth0.com depending on location)
    • Set variable REACT_APP_AUTH0_CLIENT_ID to the one you wrote down in step 2
    • Set variable JWKS_URI to https://appname.auth0.com/.well-known/jwks.json (this can be appname.au.auth0.com depending on location)
    • Set variable AUDIENCE to the API audience you created in step 2

Ensure you have audiobooks in the folder you're passing to the container as it will scan the folder on boot.

Clone this wiki locally