This commit is contained in:
bel
2021-09-14 06:44:17 -06:00
commit c5fa6baecd
22 changed files with 828 additions and 0 deletions

23
koel/build_and_run.sh Executable file
View File

@@ -0,0 +1,23 @@
#! /bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")"
mkdir -p ./mnt/{media,config,storage}
chmod -R 777 ./mnt
echo 'The default username for the web ui is "admin@example.com", password is "admin"'
echo 'Run `chmod -R 777 /opt/koel/storage` when it starts nginx'
docker run --rm -it \
-p 8050:8050 \
-p 8060:8060 \
--name=koel \
-v $PWD/mnt/media:/media \
-e PHP_MEMORY_LIMIT=2048 \
-e FASTCGI_READ_TIMEOUT=6000 \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-koel
#-v $PWD/mnt/storage:/opt/koel/storage \
#-v $PWD/mnt/config:/config \