QNAP: Running Ampache using Container Station to Stream Music

If you are done setting up plex, the next application you might want on you want to host on your QNAP device is something to stream your music on all your devices and users. There are many options here as well, but very few of them support podcast as one of the components.

Ampache requires a bit of configuration the first time you set it up, but once done, it’s pretty easy to use, has ample of features and customizations for you. You can use the following yaml to host it on your QNAP device.

version: '3.8'

name: ampache

services:
  ampache:
    container_name: amp
    image: ampache/ampache:latest
    ports:
      - 80:80
    volumes:
      - amp_config:/config
      - amp_lib_mysql:/var/lib/mysql
      - amp_www_config:/var/www/config
      - amp_mysql:/etc/mysql
      - /share/CACHEDEV3_DATA/Audio:/music:ro                     <-- Points to your music library
    restart: unless-stopped
    networks:
      directnet:
        ipv4_address: 192.168.101.60                                           <-- Use something based on your network

volumes:
    amp_config:
    amp_lib_mysql:
    amp_www_config:
    amp_mysql:	
    
networks:
  directnet:
    driver: qnet
    driver_opts:
      iface: "eth0"                                                                        <-- Update to your active port
    ipam:
      driver: qnet
      options:
        iface: "eth0"                                                                      <-- Update to your active port
      config:
        - subnet: 192.168.101.0/24

Ampache also supports Subsonic and Airsonic api so that you can use your favourite client on iOS or Android operating system.

Our favourite app till now has been Subsonic as it supports sorting by using tags as well as creating playlist.

Leave a Comment