docker-bits/lsio/libresonic/docker-run.sh

23 lines
1.3 KiB
Bash
Raw Normal View History

2021-04-10 10:16:29 +00:00
# THIS IMAGE IS DEPRECATED. PLEASE USE AIRSONIC `linuxserver/airsonic`
2021-04-21 00:55:42 +00:00
# [Libresonic](https://github.com/Libresonic/libresonic) is a free, web-based
# media streamer, providing ubiqutious access to your music. Use it to share
# your music with friends, or to listen to your own music while at work. You can
# stream to multiple players simultaneously, for instance to one player in your
# kitchen and another in your living room.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=libresonic \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-e CONTEXT_PATH=<URL_BASE> `# optional` `# For setting url-base in reverse proxy setups.` \
-p 4040:4040 `# WebUI` \
-v ${BASEDIR:-/volume1/docker}/libresonic/config:/config `# Configuration file location.` \
-v ${BASEDIR:-/volume1/docker}/libresonic/music:/music `# Location of music.` \
-v ${BASEDIR:-/volume1/docker}/libresonic/playlists:/playlists `# Location for playlists to be saved to.` \
-v ${BASEDIR:-/volume1/docker}/libresonic/podcasts:/podcasts `# Location of podcasts.` \
-v ${BASEDIR:-/volume1/docker}/libresonic/media:/media `# optional` `# Location of other media.` \
--restart unless-stopped \
ghcr.io/linuxserver/libresonic