|
|
@ -10,24 +10,24 @@ The official container and documentation was made by [linuxserver](https://hub.d
|
|
|
|
|
|
|
|
|
|
|
|
Set the following variables with the -e tag.
|
|
|
|
Set the following variables with the -e tag.
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Usage | Default |
|
|
|
|
| Name | Usage | Default |
|
|
|
|
| ---- | -------- | ------- |
|
|
|
|
| ------ | -------- | ------- |
|
|
|
|
| PUID | UserID | |
|
|
|
|
| `PUID` | UserID | |
|
|
|
|
| PGID | GroupID | |
|
|
|
|
| `PGID` | GroupID | |
|
|
|
|
| TZ | Timezone | |
|
|
|
|
| `TZ` | Timezone | |
|
|
|
|
|
|
|
|
|
|
|
|
#### Volumes
|
|
|
|
#### Volumes
|
|
|
|
|
|
|
|
|
|
|
|
Set the following volumes with the -v tag.
|
|
|
|
Set the following volumes with the -v tag.
|
|
|
|
|
|
|
|
|
|
|
|
| Volume-Name | Container mount | Description |
|
|
|
|
| Volume-Name | Container mount | Description |
|
|
|
|
| ---------------- | --------------- | ----------------------- |
|
|
|
|
| ------------------ | --------------- | ----------------------- |
|
|
|
|
| airsonic\_config | /config | Configuration files |
|
|
|
|
| `airsonic_config` | /config | Configuration files |
|
|
|
|
| airsonic\_media | /media | Various other media |
|
|
|
|
| `airsonic_media` | /media | Various other media |
|
|
|
|
| media\_playlists | /playlists | Location for playlists |
|
|
|
|
| `media_playlists` | /playlists | Location for playlists |
|
|
|
|
| media\_music | /music | Location for music |
|
|
|
|
| `media_music` | /music | Location for music |
|
|
|
|
| media\_audiobooks | /audiobooks | Location for audiobooks |
|
|
|
|
| `media_audiobooks` | /audiobooks | Location for audiobooks |
|
|
|
|
| media\_podcasts | /podcasts | location for podcasts |
|
|
|
|
| `media_podcasts` | /podcasts | location for podcasts |
|
|
|
|
|
|
|
|
|
|
|
|
#### Ports
|
|
|
|
#### Ports
|
|
|
|
|
|
|
|
|
|
|
@ -39,22 +39,22 @@ Set the following ports with the -p tag.
|
|
|
|
|
|
|
|
|
|
|
|
#### Rebuild
|
|
|
|
#### Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```shell
|
|
|
|
#!/bin/sh
|
|
|
|
#!/bin/sh
|
|
|
|
docker stop airsonic
|
|
|
|
docker stop airsonic
|
|
|
|
docker rm airsonic
|
|
|
|
docker rm airsonic
|
|
|
|
docker pull linuxserver/airsonic
|
|
|
|
docker pull linuxserver/airsonic
|
|
|
|
docker run --name=airsonic \
|
|
|
|
docker run --name=airsonic \
|
|
|
|
--restart unless-stopped \
|
|
|
|
--restart unless-stopped \
|
|
|
|
-p 4040:4040 \
|
|
|
|
-p 4040:4040 \
|
|
|
|
-v airsonic_config:/config \
|
|
|
|
-v airsonic_config:/config \
|
|
|
|
-v airsonic_media:/media \
|
|
|
|
-v airsonic_media:/media \
|
|
|
|
-v media_playlists:/playlists \
|
|
|
|
-v media_playlists:/playlists \
|
|
|
|
-v media_music:/music \
|
|
|
|
-v media_music:/music \
|
|
|
|
-v media_audiobooks:/audiobooks \
|
|
|
|
-v media_audiobooks:/audiobooks \
|
|
|
|
-v media_podcasts:/podcasts \
|
|
|
|
-v media_podcasts:/podcasts \
|
|
|
|
-e PUID=0 \
|
|
|
|
-e PUID=0 \
|
|
|
|
-e PGID=0 \
|
|
|
|
-e PGID=0 \
|
|
|
|
-e TZ=Europe/Berlin \
|
|
|
|
-e TZ=Europe/Berlin \
|
|
|
|
-d linuxserver/airsonic
|
|
|
|
-d linuxserver/airsonic
|
|
|
|
```
|
|
|
|
```
|
|
|
|