Skip to content

A docker based online radio platform based on icecast and liquidsoap and control server with python django server

Notifications You must be signed in to change notification settings

sakkeerhussain/OnlineRadioStation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Radio Station

An online radio station setup using icecast and liquidsoap with dockerised setup.

Environment Variables

Name Description Default Value
ICECAST_ADMIN_PASSWORD The admin password for icecast server admin portal. password
ICECAST_SOURCE_PASSWORD The password used to authenticate icecast stream source, like liquidsoap. password
ICECAST_RELAY_PASSWORD Icecast relay password password
LIQUIDSOAP_SOURCE_PASSWORD The password used to authenticate live stream mic to liquidsoap server. password
DJANGO_SECRET The secret value used in the django server running inside. django-insecure-secret
ADMIN_PASSWORD The password used to login to the web admin UI password
BACKEND_DATABASE_ENGINE
BACKEND_DATABASE_NAME db.sqlite3
BACKEND_DATABASE_USER
BACKEND_DATABASE_PASSWORD
BACKEND_DATABASE_HOST
BACKEND_DATABASE_PORT
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
DEFAULT_FILE_STORAGE django.core.files.storage.FileSystemStorage
AWS_STORAGE_BUCKET_NAME
AWS_S3_REGION_NAME

How to run

  1. Update icecast admin password in environment variable 'ICECAST_ADMIN_PASSWORD' otherwise will default to 'password'
  2. Update icecast source password in environment variable 'ICECAST_SOURCE_PASSWORD' otherwise will default to 'password'
  3. Update icecast relay password in environment variable 'ICECAST_RELAY_PASSWORD' otherwise will default to 'password'
  4. Update liquidsoap source password in environment variable 'LIQUIDSOAP_SOURCE_PASSWORD' otherwise will default to 'password'
  5. Update django secret in environment variable 'DJANGO_SECRET' otherwise will be defaulted to 'django-insecure-secret'
  6. Update admin password in environment variable 'ADMIN_PASSWORD' otherwise will be defaulted to 'password'
  7. Run the ./setup.sh file in terminal after setting up the docker container.

Access Details

Icecast:

Admin Web UI:

  • Access URL: http://localhost:5000
  • Username: admin
  • Password: Loads from env variable 'ADMIN_PASSWORD' or 'password'

Connect Live Mic:

  • Server Address: localhost
  • Server Port: 8080
  • Mount point: /mount
  • Username: source
  • Password: Loads from env variable 'LIQUIDSOAP_SOURCE_PASSWORD' or 'password'

TODO Items:

  1. Create super user if not existing
  2. Make host configurable in liquidsoap
  3. Make ports configurable
  4. add API_SERVER_HOST to readme
  5. Upload media files to S3 in API server
  6. Install database seperatly and update
  7. add ICECAST_SERVER_HOST to readme
  8. Make media url accessible
  9. Update internal communication to use internal IP

About

A docker based online radio platform based on icecast and liquidsoap and control server with python django server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published