dockerfiles/subsonic/README.md

41 lines
1.1 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**.
#### Environment variables
- **GID** : subsonic group id.
- **UID** : subsonic user id.
#### Volumes
- **/musics** : your music files
- **/data** : subsonic data
#### Docker Compose (example)
```
subsonic:
image: wonderfall/subsonic
volumes:
- /mnt/music:/musics
- /mnt/subsonic:/data
environment:
- GID=1000
- UID=1000
```
#### Reverse proxy
https://github.com/Wonderfall/dockerfiles/tree/master/reverse
2016-05-01 23:45:35 +02:00
Working configuration with HTTPS :
2016-04-11 15:59:32 +02:00
```
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;
}
```