2017-03-08 16:51:05 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## wonderfall/libresonic
  
						 
					
						
							
								
									
										
										
										
											2016-04-11 15:59:32 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-03-31 20:34:58 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-04-11 15:59:32 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-03-08 16:51:05 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#### What is Libresonic?
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Libresonic 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 ** . More info here : https://libresonic.github.io/
							 
						 
					
						
							
								
									
										
										
										
											2016-04-11 15:59:32 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-05-12 00:16:33 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#### Build-time variables
  
						 
					
						
							
								
									
										
										
										
											2017-03-08 16:51:05 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  **VERSION** : version of libresonic 
						 
					
						
							
								
									
										
										
										
											2016-05-12 00:16:33 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-04-11 15:59:32 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								#### Environment variables
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  **GID** : subsonic group id. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  **UID** : subsonic user id. 
						 
					
						
							
								
									
										
										
										
											2017-03-08 17:05:52 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  **HTTPS_PORT** : set if you access Libresonic through HTTPS * (default : 0 = disabled) *  
						 
					
						
							
								
									
										
										
										
											2016-04-11 15:59:32 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#### Volumes
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  **/musics** : your music files 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  **/data** : subsonic data 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-03-08 17:05:52 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#### Port
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  4040 
						 
					
						
							
								
									
										
										
										
											2016-04-11 15:59:32 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#### Reverse proxy
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								https://github.com/Wonderfall/dockerfiles/tree/master/reverse
							 
						 
					
						
							
								
									
										
										
										
											2017-03-08 17:05:52 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-03-08 16:51:05 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								https://github.com/hardware/mailserver/wiki/Reverse-proxy-configuration
							 
						 
					
						
							
								
									
										
										
										
											2017-03-13 05:02:19 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Libresonic does not support SSL/TLS by itself. If you want to use Libresonic through https, this is what I'm using :
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  location / {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    proxy_pass http://libresonic:4040;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    proxy_set_header X-Forwarded-Host $host;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    proxy_set_header X-Forwarded-Server $host;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    proxy_set_header X-Real-IP         $remote_addr;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    proxy_set_header X-Forwarded-Proto https;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    proxy_set_header Host              $http_host;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    proxy_max_temp_file_size           0;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    proxy_redirect                     http:// https://;
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```