dockerfiles/subsonic/README.md

46 lines
1.2 KiB
Markdown
Raw Normal View History

2016-04-11 15:59:32 +02:00
## wonderfall/subsonic
![](https://i.goopics.net/lr.png)
#### What is Subsonic?
Subsonic is an open-source web-based media streamer and jukebox. Supports MP3, OGG, AAC and other streamable audio and video formats. Indeed, this build comes with **transcoding abilities**.
#### Tags
2016-04-13 18:19:53 +02:00
- **6.0 beta 2** : `6`, `latest`
2016-04-11 15:59:32 +02:00
#### Environment variables
- **GID** : subsonic group id.
- **UID** : subsonic user id.
#### Volumes
- **/musics** : your music files
- **/data** : subsonic data
- **/playlists** : subsonic playlists
#### Docker Compose (example)
```
subsonic:
image: wonderfall/subsonic
volumes:
- /mnt/music:/musics
- /mnt/subsonic:/data
- /mnt/playlists:/playlists
environment:
- GID=1000
- UID=1000
```
#### Reverse proxy
https://github.com/Wonderfall/dockerfiles/tree/master/reverse
Fully working configuration with TLS :
```
location / {
proxy_pass http://subsonic:4040;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Remote-Port $remote_port;
proxy_set_header X-Forwarded-Proto $scheme;
}
```