Simple MP3 player via docker alpine images (nginx, php, ftp).
- Docker
- Docker-Compose
# create new file and add first user
$ htpasswd -c ./lib/.htpasswd testuser_a
# add other user to existing file
$ htpasswd ./lib/.htpasswd testuser_b
The webserver port configuration is done via file: .env
. You need to change variables before you startup the environment.
The FTP configuration is done via via file: .env
. You need to change variables before you startup the environment.
Do all necessary configurations and start environment via docker-compose. Add some MP3 files (via FTP or SCP) into folder mp3
. Open browser and call you URL.
# validate YAML (optional)
$ docker-compose config
# run environment
$ docker-compose run -d
# open browser (example localhost with port 8080)
$ open http://localhost:8080
# stop environment
$ docker-compose down