Azuracast | webradio #shoutcast #icecast serveur

Toutes est dans le titre, comment installer et configuré. (mode avancé en cours…)
sudo -i
apt update && apt upgrade -y
apt install -q -y git curl
mkdir -p /var/azuracast && cd /var/azuracast
git clone https://github.com/AzuraCast/AzuraCast.git .
chmod a+x install.sh && ./install.sh 
cd /var/azuracast
./docker.sh update-self && echo « y » | ./docker.sh update
#image: azuracast/azuracast_web_v2
#docker Log
cd /var/azuracast && docker-compose logs -f <service>
#clear 
cd /var/azuracast && ./docker.sh cli cache:clear
#SSL
cd /var/azuracast && ./docker.sh letsencrypt-create radio.exemple.tld
#SSL renew
crontab -e
* * * * */6 cd /var/azuracast && ./docker.sh letsencrypt-renew >/dev/null 2>&1
systemctl enable cron
systemctl restart cron
systemctl list-timers
#https://medium.com/p/ca9e6834c192/responses/show?source=follow_footer————————–follow_footer-
apt install ffmpeg -y
#VIDEO stream
mkdir -p /tmp/ac_videostream
git clone https://github.com/AzuraCast/radio-video-stream.git /tmp/ac_videostream
mv /tmp/ac_videostream/videostream /var/azuracast/videostream
mv /tmp/ac_videostream/docker-compose.override.yml 
#———————–#
cd /var/azuracast
docker-compose build videostream
docker-compose up -d
nano /var/azuracast/docker-compose.override.yml
#configuration
cd /var/azuracast/ && docker-compose down && docker-compose up -d
#############WARNING AVANCED CONFIG NOT FOUND OR LATER:LEARN MORE DOCKER SYSTEM###################
cd /var/azuracast && nano docker-compose.override.yml
#apt install nginx certbot -y
#systemctl enable nginx
#systemctl stop nginx
#systemctl restart nginx
#nano /etc/nginx/azuracast-nginx.conf
==================================================
version: ‘2.2’
services:
  web:
    volumes:
     – /etc/nginx/azuracast-nginx.conf:/etc/nginx/conf.d/azuracast.conf:ro
==================================================
docker cp azuracast_web:/etc/nginx/conf.d/azuracast.conf /etc/nginx/azuracast-nginx.conf
docker-compose down && docker-compose up -d
#SSL not found
#->ssl_certificate /etc/letsencrypt/live/panel.exemple.tld/cert.pem;
#->ssl_certificate_key /etc/letsencrypt/live/panel.exemple.tld/privkey.pem;
#->ssl_trusted_certificate /etc/letsencrypt/live/panel.exemple.tld/chain.pem;
=======================================================
#############WARNING AVANCED CONFIG NOT FOUND OR LATER:LEARN MORE DOCKER SYSTEM###################
#More info
#https://azuracast.com/
#https://github.com/AzuraCast
#https://docker.com/
Radio live disponible et bonne écoute sur https://www.alexonbstudio.fr/projet/streaming/radio.html
Copyright Ⓒ AlexonbStudio

Laisser un commentaire

%d blogueurs aiment cette page :