Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Ampache and docker

Make sure you check out the pre-built docker images first!

https://github.com/ampache/ampache-docker

This is used to help set up a dev environment for people working on the code more than a user.

Ampache docker testing

Want a live docker environment on your system?

There are a few docker files I've been using to build and test that have helped out a lot.

Anyone with a bit of docker knowledge should be able to get up and running but here's the gist.

  • Run docker-compose up to start the container
  • Don't forget to run composer install & npm install & npm run build in the project root

After you're up and running you should be able to install as normal. (MySQL is not included in the docker files)

Setup file permissions

If you use Linux, the permissions can be set up by running the setup script from the docker directory

cd ./docker
sh ./docker-setup.sh