https://github.com/lupin3000/myownmusicplayer
Simple MP3 music player via docker
https://github.com/lupin3000/myownmusicplayer
docker docker-compose ftp jquery mp3 nginx php
Last synced: 3 months ago
JSON representation
Simple MP3 music player via docker
- Host: GitHub
- URL: https://github.com/lupin3000/myownmusicplayer
- Owner: Lupin3000
- License: mit
- Created: 2019-01-16T17:18:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-20T10:04:24.000Z (over 7 years ago)
- Last Synced: 2025-03-21T18:52:04.550Z (over 1 year ago)
- Topics: docker, docker-compose, ftp, jquery, mp3, nginx, php
- Language: PHP
- Homepage: https://softwaretester.info
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MyOwnMusicPlayer
Simple MP3 player via docker alpine images (_nginx, php, ftp_).
## Requirements:
- Docker
- Docker-Compose
## HTTP auth users:
```shell
# create new file and add first user
$ htpasswd -c ./lib/.htpasswd testuser_a
# add other user to existing file
$ htpasswd ./lib/.htpasswd testuser_b
```
## Webserver port:
The webserver port configuration is done via file: `.env`. You need to change variables before you startup the environment.
## FTP server configuration:
The FTP configuration is done via via file: `.env`. You need to change variables before you startup the environment.
## Run application:
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.
```shell
# 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
```