update readmes

This commit is contained in:
Wonderfall
2016-05-12 00:16:33 +02:00
parent 1679a9ba5d
commit 6d54f4b762
14 changed files with 174 additions and 270 deletions

View File

@ -5,6 +5,9 @@
#### 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**.
#### Build-time variables
- **VERSION** : version of subsonic
#### Environment variables
- **GID** : subsonic group id.
- **UID** : subsonic user id.
@ -13,28 +16,7 @@ Subsonic is an open-source web-based media streamer and jukebox. Supports MP3, O
- **/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
Working configuration with HTTPS :
```
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;
}
```
https://github.com/hardware/mailserver/wiki/Reverse-proxy-configuration