[PR #57] [CLOSED] Feature docker #1143

Closed
opened 2026-02-26 02:35:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/57
Author: @NamPNQ
Created: 12/15/2015
Status: Closed

Base: masterHead: feature-docker


📝 Commits (10+)

📊 Changes

3 files changed (+37 additions, -0 deletions)

View changed files

.dockerignore (+3 -0)
Dockerfile (+19 -0)
docker-compose.yml (+15 -0)

📄 Description

Fix #10

@phanan: help me to review

How to install via docker

$ cp .env.example .env
$ vi .env

Config admin info and db info (!IMPORTANT)

DB_HOST=db
DB_DATABASE=koel
DB_USERNAME=root
DB_PASSWORD=secret

Run docker

$ sudo pip install docker-compose
$ docker-compose build
$ docker-compose run web php artisan migrate --force
$ docker-compose run web php artisan db:seed --force
$ docker-compose up -d

Correct permission for mount file

$ chmod +r ~/Music

Go to http://localhost:8000


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/57 **Author:** [@NamPNQ](https://github.com/NamPNQ) **Created:** 12/15/2015 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature-docker` --- ### 📝 Commits (10+) - [`d9bbf07`](https://github.com/koel/koel/commit/d9bbf078fce7827c6295d08474c9923af865af6f) Add docker - [`0b45520`](https://github.com/koel/koel/commit/0b455206242064bdb7da9ea046fb412690a7d2eb) rm .env in enviroment - [`bad5c94`](https://github.com/koel/koel/commit/bad5c94e921fa42f7a2c9287b2a1849e772ccfb2) Complete to build docker - [`54220a4`](https://github.com/koel/koel/commit/54220a46ad23d63f8cfc9ed0af24633b2bf332a2) Clean & upgrade to php7 - [`f7e8833`](https://github.com/koel/koel/commit/f7e8833a29714063bfd331a1194473afae21387a) Clean - [`6cebf8d`](https://github.com/koel/koel/commit/6cebf8d00fd2c03d1b831d42d1c68dbf1839f38d) Use git repo instead local - [`1cfe794`](https://github.com/koel/koel/commit/1cfe7949148fcb2a8624aef4b80ec1af515d8f61) Use nginx instead of apache - [`b213c36`](https://github.com/koel/koel/commit/b213c364deaed5cb81628abb83644ec01a91a676) Update Dockerfile - [`4057fec`](https://github.com/koel/koel/commit/4057fecbe803834be0124fa7001798ba7ce080bb) Update docker-compose.yml - [`aeb60ad`](https://github.com/koel/koel/commit/aeb60ad30134a927180a6b0df756802dfee79caf) Update docker-compose.yml ### 📊 Changes **3 files changed** (+37 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.dockerignore` (+3 -0) ➕ `Dockerfile` (+19 -0) ➕ `docker-compose.yml` (+15 -0) </details> ### 📄 Description Fix #10 @phanan: help me to review How to install via docker ``` $ cp .env.example .env $ vi .env ``` Config admin info and db info (!IMPORTANT) ``` DB_HOST=db DB_DATABASE=koel DB_USERNAME=root DB_PASSWORD=secret ``` Run docker ``` $ sudo pip install docker-compose $ docker-compose build $ docker-compose run web php artisan migrate --force $ docker-compose run web php artisan db:seed --force $ docker-compose up -d ``` Correct permission for mount file ``` $ chmod +r ~/Music ``` Go to http://localhost:8000 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 02:35:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1143
No description provided.