No description
Find a file
2024-12-25 08:50:00 +01:00
docker initial commit 2024-12-25 08:41:20 +01:00
src total playtime 2024-12-25 08:50:00 +01:00
.DS_Store initial commit 2024-12-25 08:41:20 +01:00
docker-compose.yml initial commit 2024-12-25 07:59:46 +01:00
README.md Update README.md 2024-12-25 08:42:30 +01:00

Deployment of the Ambient Music player with Docker Stack

This project uses Docker to deploy a Ambient music player with Nginx as the web server.

Prerequisites

  • Docker installed on your machine
  • Docker Compose installed

Installation

  1. Clone the repository

git clone https://github.com/colmaris/ambient.git

  1. Navigate to the project directory:

    cd src/

  2. Copy your music file in mp3

  3. Build and start the containers with Docker Compose:

    docker-compose up --build

Accessing the Application

Once the containers are running, open your browser and go to http://localhost. You should see the page generated by index.php.

Generate playlist.

Enter in the php container docker compose exec php bash and navigate to the public directory. Then execute the playlit_gen.php script : php playlist_gen.php. All done and enjoy your music !

Stopping the Containers

To stop the containers, you can use:

docker compose down