Sign inSign up

unclesamwk/subsonic

By unclesamwk

Updated over 3 years ago

This docker container publish an very nice web-based media server + Let`s encrypt

Image
0

10K+

unclesamwk/subsonic repository overview

This docker container publish an very nice web-based media server.

Source : http://www.subsonic.org

Getting started
docker run -it -p 4040:4040 unclesamwk/subsonic

Default an volume for persist date will be created. Now you can open your subsonic media stream with http://localhost:4040

Follwing environments may be override:
ENVDEFAULTDESCRIPTION
HOST0.0.0.0The host name or IP address on which to bind Subsonic. Only relevant if you have multiple network interfaces and want to make Subsonic available on only one of them. The default value will bind Subsonic to all available network interfaces.
HTTP_PORT4040The port on which Subsonic will listen for incoming HTTP traffic.
HTTPS_PORT0The port on which Subsonic will listen for incoming HTTPS traffic.
CONTEXT_PATH/The context path, i.e., the last part of the Subsonic URL. Typically '/' or '/subsonic'.
MEMORY150The memory limit (max Java heap size) in megabytes.
Let`s encrypt

If you want secure your subsonic with let`s encrypt you need access from internet with open ports 80 + 443 to your subsonic server. Then first start traefik. The reason why start traefik in an single compose file is, you can easyily add more websites to traefik proxy.

version: '3.7'

services:
  traefik:
    restart: always
    image: traefik:1.7
    container_name: traefik
    command:
      - "--api"
      - "--entrypoints=Name:http Address::80 Redirect.EntryPoint:https"
      - "--entrypoints=Name:https Address::443 TLS"
      - "--defaultentrypoints=http,https"
      - "--acme"
      - "--acme.storage=/data/acme.json"
      - "--acme.entryPoint=https"
      - "--acme.httpChallenge.entryPoint=http"
      - "--acme.onHostRule=true"
      - "--acme.onDemand=false"
      - "[email protected]"
      - "--docker"
      - "--docker.domain=noez"
      - "--docker.watch"
      - "--docker.exposedbydefault=false"

    ports:
      - "80:80"
      - "8080:8080"
      - "443:443"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - traefik_data:/data
    networks:
      - webgateway

networks:
  webgateway:
    driver: bridge

volumes:
  traefik_data:

Now start subsonic with following compose file:

version: '3.7'

services:
  subsonic:
    restart: always
    image: unclesamwk/subsonic:latest
    networks:
      - web
    labels:
      - "traefik.port=4040"
      - "traefik.enable=true"
      - "traefik.docker.network=traefik_webgateway"
      - "traefik.frontend.rule=Host:subsonic.yourdomain.de"

networks:
  web:
    external:
      name: traefik_webgateway
Comming soon

Connect to samba active-directory

Tag summary

Content type

Image

Digest

sha256:5107a86bc

Size

226.2 MB

Last updated

over 3 years ago

docker pull unclesamwk/subsonic