#! /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 \