Sign inSign up

ravensorb/linuxserver-mods-airsonic-init

By ravensorb

Updated about 5 years ago

Image
0

368

ravensorb/linuxserver-mods-airsonic-init repository overview

linuxserver-mods-airsonic-init [v1.0]

Created by: Shawn Anderson

Overview

This linux server mod handles the initial setup and configuration of the image at startup based on the specified environment variables values


Container: airsonic

Environment Variables
NameValueComment
TZAmerica/New YorkThe timezone to use
PUID1000The default process uid
PGID1000The default process guid
CONTAINER_DOMAINhome.localCurrent root domain name
AIRSONIC_PORT_INTERNAL_HTTP80The port for the service will be exposed
AIRSONIC_DB_TYPEmariadbThe jdbc supported type of database connecting to (defaults to mariab)
AIRSONIC_DB_HOSTairsonicdbThe host name for the database that will be used. If blank, internal db will be used
AIRSONIC_DB_PORT3306The port to connect to on the database host
AIRSONIC_DB_USERairsonicUser to access the database
AIRSONIC_DB_PASSWORDairsonicPassword for the database user
AIRSONIC_SMTP_HOSTThe SMTP host to use for sending emails. If blank, no notifications will be sent out
AIRSONIC_SMTP_PORT25The SMTP port to connect to
AIRSONIC_SMTP_ENCRYPTIONPLAINType of SMTP authenticatin to use (PLAN, SSL/TLS)
AIRSONIC_SMTP_USERThe user/email to authenticate with
AIRSONIC_SMTP_PASSWORDThe password for the smtp user
AIRSONIC_SMTP_FROMinfo@airsonicThe from/reply address to use for all notifications

Sample docker-compose.yml

version: "3.7"

services:

  airsonic:
    image: linuxservier/airsonic
    env:
        - DOCKER_MODS=ravensorb/linuxserver-mods-airsonic-init
        - TZ=America/New York # The timezone to use
        - PUID=1000 # The default process uid
        - PGID=1000 # The default process guid
        - CONTAINER_DOMAIN=home.local # Current root domain name
        # The following variables are used by the MOD
        - AIRSONIC_PORT_INTERNAL_HTTP=80 # The port for the service will be exposed
        - AIRSONIC_DB_TYPE=mariadb # The jdbc supported type of database connecting to (defaults to mariab)
        - AIRSONIC_DB_HOST=airsonicdb # The host name for the database that will be used. If blank, internal db will be used
        - AIRSONIC_DB_PORT=3306 # The port to connect to on the database host
        - AIRSONIC_DB_USER=airsonic # User to access the database
        - AIRSONIC_DB_PASSWORD=airsonic # Password for the database user
        - AIRSONIC_SMTP_HOST= # The SMTP host to use for sending emails.  If blank, no notifications will be sent out
        - AIRSONIC_SMTP_PORT=25 # The SMTP port to connect to
        - AIRSONIC_SMTP_ENCRYPTION=PLAIN # Type of SMTP authenticatin to use (PLAN, SSL/TLS)
        - AIRSONIC_SMTP_USER= # The user/email to authenticate with
        - AIRSONIC_SMTP_PASSWORD= # The password for the smtp user
        - AIRSONIC_SMTP_FROM=info@airsonic # The from/reply address to use for all notifications
    logging:
      driver: json-file
      options:
        max-size: "100m"
        max-file: "10"
    security_opt:
      - no-new-privileges:true
    restart: always

Tag summary

Content type

Image

Digest

Size

6.5 kB

Last updated

about 5 years ago

docker pull ravensorb/linuxserver-mods-airsonic-init