Sign inSign up

kukki/docker-ampache

By kukki

Updated about 10 years ago

Ampache music server and MySQL on Alpine Linux

Image
0

443

kukki/docker-ampache repository overview

Ampache Music Server on Alpine Linux Docker

The image contains several components:

  • Alpine Linux, a lightweight Linux distrubtion
  • Ampache, a music server
  • MySQL, a database used by Ampache
  • PHP, a front-end used by Ampache
  • Apache, a web service used by Ampache

Usage

docker create --name ampache \
  -v /path-to/music:/music \
  -p 80:80 \
  kukki/docker-ampache
docker start ampache

Note

  • You would like to change the port 80 to a different port number if you're using an existing web server on you host.

Setup

  • MySQL admin password can be retreived by running following command. Or you can specify the admin password by adding -e MYSQL_PASS=MyPassword in docker create options
docker logs ampache

Ampache setup is quite straight-forward:

  • Visit http://localhost/ampache
  • Pick up a desired language
  • Enter 127.0.0.1 in MySQL server host
    • Note: Apache and MySQL are running in the same docker
  • Enter admin and admin password or root and empty password as MySQL credential
  • It's a good idea to create a MySQL account for Ampache. So check the last checkbox at the bottom
  • Click Next and finish the rest as desred
  • Enjoy your music

Issue and questions

License

Tag summary

Content type

Image

Digest

Size

142.8 MB

Last updated

about 10 years ago

docker pull kukki/docker-ampache