Audio media server. Only support Opus files.
$ bundle exec rails c
[1] shiva ยป User.create!(email: '[email protected]', username: 'mdouchement', password: 'trololoyolo')
$ bundle exec rake indexer /home/mdouchement/opus
$ bundle exec unicorn -p 3000 -c config/unicorn.rb
# See the Dockerfile for more details
$ docker run --restart=always --name=shiva -p 3000:3000 -v /home/mdouchement/opus:/data/storage -v /home/mdouchement/shiva/db:/data/db -d mdouchement/shiva
# Or if you want to namespace the app like http://localhost:3000/shiva
$ docker run --restart=always --name=shiva -e SHIVA_NAMESPACE='/shiva' -p 3000:3000 -v /home/mdouchement/opus:/data/storage -v /home/mdouchement/shiva/db:/data/db -d mdouchement/shiva
# You can also define RAILS_SERVE_STATIC_FILES environment variable if you want that Rails serve the assets
# Launch a Rails console for adding an admin user
$ docker exec -it shiva bundle exec rails c
# Reindexing
$ docker exec -it shiva bundle exec rake indexer /data/storage
MIT. See the LICENSEโ for more details.
Content type
Image
Digest
sha256:b0321680fโฆ
Size
298.7 MB
Last updated
about 10 years ago
docker pull mdouchement/shiva