Created by: Shawn Anderson
This linux server mod handles the initial setup and configuration of the image at startup based on the specified environment variables values
| Name | Value | Comment |
|---|---|---|
| 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 |
| 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 |
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
Content type
Image
Digest
Size
6.5 kB
Last updated
about 5 years ago
docker pull ravensorb/linuxserver-mods-airsonic-init