An online radio station setup using icecast and liquidsoap with dockerised setup.
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 |
- Update icecast admin password in environment variable 'ICECAST_ADMIN_PASSWORD' otherwise will default to 'password'
- Update icecast source password in environment variable 'ICECAST_SOURCE_PASSWORD' otherwise will default to 'password'
- Update icecast relay password in environment variable 'ICECAST_RELAY_PASSWORD' otherwise will default to 'password'
- Update liquidsoap source password in environment variable 'LIQUIDSOAP_SOURCE_PASSWORD' otherwise will default to 'password'
- Update django secret in environment variable 'DJANGO_SECRET' otherwise will be defaulted to 'django-insecure-secret'
- Update admin password in environment variable 'ADMIN_PASSWORD' otherwise will be defaulted to 'password'
- Run the ./setup.sh file in terminal after setting up the docker container.
- Access URL: http://localhost:8000
- Stream URL: http://localhost:8000/stream
- Username: admin
- Password: Loads from env variable 'ICECAST_ADMIN_PASSWORD' or 'password'
- Access URL: http://localhost:5000
- Username: admin
- Password: Loads from env variable 'ADMIN_PASSWORD' or 'password'
- Server Address: localhost
- Server Port: 8080
- Mount point: /mount
- Username: source
- Password: Loads from env variable 'LIQUIDSOAP_SOURCE_PASSWORD' or 'password'
TODO Items:
- Create super user if not existing
- Make host configurable in liquidsoap
- Make ports configurable
- add API_SERVER_HOST to readme
- Upload media files to S3 in API server
- Install database seperatly and update
- add ICECAST_SERVER_HOST to readme
- Make media url accessible
- Update internal communication to use internal IP