Coder Social home page Coder Social logo

ampache-docker's Introduction

ampache-docker

Docker container for Ampache, a web based audio/video streaming application and file manager allowing you to access your music & videos from anywhere, using almost any internet enabled device.

build status

travis status

Develop build status

travis status

noSQL build status

travis status

Usage

docker run

To run official builds from docker hub you can run these commands:

To run the current Ampache master (stable) branch

docker run --name=ampache -d -v /path/to/your/music:/media:ro -p 80:80 ampache/ampache

To run the current Ampache master (stable) branch without an SQL server!

docker run --name=ampache -d -v /path/to/your/music:/media:ro -p 80:80 ampache/ampache:nosql

To run the current Ampache develop branch

docker run --name=ampache -d -v /path/to/your/music:/media:ro -p 80:80 ampache/ampache:develop

The develop tag is set up to use git updates so you don't have to rebuild your images to stay up to date with development.

docker-compose

This method is recommended as it creates persistent volumes for important data. Included in the GitHub repository is a simple docker-compose.yml file to get started. Use the following commands:

docker-compose up -d

The first time you run the container, you will also need to set the correct permissions on the configuration folder:

chown www-data:www-data ./data/config -R

This will automatically create mount points for music at ./data/media, persistent MySQL storage at ./data/mysql, and a folder for the Ampache configuration file at ./data/config.

Running on ARM

The automated builds for the official repo are now built for linux/amd64, linux/arm/v7 and linux/arm64.

Installation

  1. Open http://localhost/install.php and click Start Configuration, then Continue
  2. On the Insert Ampache Database page:
    1. MySQL Administrative Username: admin
    2. MySQL Administrative Password: (see container output)
      • The logs will show a line that says mysql -uadmin -pjnzYXLz7cMzq -h<host> -P<port>. The password is everything after -p, in this case jnzYXLz7cMzq.
    3. Check Create Database User
    4. Ampache Database User Password: Enter anything
    5. Click Insert Database
  3. Generate Configuration File page:
    1. Click Create Config
  4. Create Admin Account page:
    1. Enter anything for Username and Password
    2. Click Create Account
  5. Ampache Update page:
    1. Click Update Now!
    2. Click [Return to main page] to login using previously entered credentials

Thanks to

  • @ericfrederich for his original work
  • @velocity303 and @goldy for the other ampache-docker inspiration
  • @kuzi-moto for bringing the image out of the dark ages

Current Release

Ampache 4.2.3

ampache-docker's People

Contributors

lachlan-00 avatar arielelkin avatar afterster avatar ericfrederich avatar lachesis avatar iyesin avatar kuzi-moto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.