Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Last active November 18, 2022 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dnburgess/832f6d7fa015fe50068519556cd5241d to your computer and use it in GitHub Desktop.
Save dnburgess/832f6d7fa015fe50068519556cd5241d to your computer and use it in GitHub Desktop.
DB Tech Koel Music Container
version: '3'
services:
koel:
image: hyzual/koel
depends_on:
- database
ports:
- 8181:80 #change this to for your settings
environment:
- DB_CONNECTION=mysql
- DB_HOST=database
- DB_USERNAME=koel
- DB_PASSWORD=koel
- DB_DATABASE=koel
- PUID=1026 #change this to for your settings
- PGID=100 #change this to for your settings
volumes:
- /volume1/Music:/music
- covers:/var/www/html/public/img/covers
- search_index:/var/www/html/storage/search-indexes
database:
image: mysql/mysql-server:5.7
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=koel
- MYSQL_DATABASE=koel
- MYSQL_USER=koel
- MYSQL_PASSWORD=koel
- PUID=1026 #change this to for your settings
- PGID=100 #change this to for your settings
volumes:
db:
driver: local
covers:
driver: local
search_index:
driver: local
######## NOTES ########
#
# GitHub Page: https://github.com/koel/docker
# Additional Information: https://docs.koel.dev/#using-docker
#
# Once the containers have loaded, SSH into your server and run this command:
# $ docker exec -it <container_name_for_koel> bash
# replace <container_name_for_koel> with the actual koel container name
#
# Once inside the container, run this command:
# $ php artisan koel:init --no-assets
#
# Next, be sure to run:
# $ php artisan serve
# and
# $ php artisan koel:sync
#
# Login Credentials Are:
# email: admin@koel.dev
# password: KoelIsCool
#
######## /NOTES ########
@IGProd
Copy link

IGProd commented Aug 25, 2021

Hi,
Im fan of you on youtube how can i install this on synology please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment