These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.6 KiB

7 months ago
  1. # Airsonic
  2. ## Setup Server
  3. ### Docker
  4. The official container and documentation was made by [linuxserver](https://hub.docker.com/r/linuxserver/airsonic).
  5. #### Environment-variables
  6. Set the following variables with the -e tag.
  7. | Name | Usage | Default |
  8. | ---- | -------- | ------- |
  9. | PUID | UserID | |
  10. | PGID | GroupID | |
  11. | TZ | Timezone | |
  12. #### Volumes
  13. Set the following volumes with the -v tag.
  14. | Volume-Name | Container mount | Description |
  15. | ---------------- | --------------- | ----------------------- |
  16. | airsonic\_config | /config | Configuration files |
  17. | airsonic\_media | /media | Various other media |
  18. | media\_playlists | /playlists | Location for playlists |
  19. | media\_music | /music | Location for music |
  20. | media\_audiobooks | /audiobooks | Location for audiobooks |
  21. | media\_podcasts | /podcasts | location for podcasts |
  22. #### Ports
  23. Set the following ports with the -p tag.
  24. | Container Port | Recommended outside port | Protocol | Description |
  25. | -------------- | ------------------------ | -------- | ----------- |
  26. | 4040 | 4040 | TCP | WebUI |
  27. #### Rebuild
  28. ```
  29. #!/bin/sh
  30. docker stop airsonic
  31. docker rm airsonic
  32. docker pull linuxserver/airsonic
  33. docker run --name=airsonic \
  34. --restart unless-stopped \
  35. -p 4040:4040 \
  36. -v airsonic_config:/config \
  37. -v airsonic_media:/media \
  38. -v media_playlists:/playlists \
  39. -v media_music:/music \
  40. -v media_audiobooks:/audiobooks \
  41. -v media_podcasts:/podcasts \
  42. -e PUID=0 \
  43. -e PGID=0 \
  44. -e TZ=Europe/Berlin \
  45. -d linuxserver/airsonic
  46. ```