Outils pour utilisateurs

Outils du site


libretime_container_docker

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
libretime_container_docker [2025/12/18 22:01] – Benjamin Labomedialibretime_container_docker [2026/03/26 20:51] (Version actuelle) – [Installer Libretime via Docker] Benjamin Labomedia
Ligne 6: Ligne 6:
 Tests partiellement réalisés sur Debian 13 et Ubuntu 24.04 Tests partiellement réalisés sur Debian 13 et Ubuntu 24.04
  
-Commencer pa installer Docker : Doc install Docker https://docs.docker.com/engine/install+Commencer par installer Docker : Doc install Docker https://docs.docker.com/engine/install
  
 Création d'une utilisatrice dédiée Création d'une utilisatrice dédiée
Ligne 13: Ligne 13:
   sudo su - libretimedocker   sudo su - libretimedocker
  
-Installer ensuite Libretime en tant qu'utilisatrice libretimedocker : Doc install Libretime https://libretime.org/docs/admin-manual/install/install-using-docker/+Installer ensuite Libretime en tant qu'utilisatrice libretimedocker : [[https://libretime.org/docs/admin-manual/install/install-using-docker/|Doc install Libretime docker]] 
 + 
 +Il faut donc adapter les fichiers config.yml et docker-compose.yml puis ...
  
 Ne pas oublier d'initier la base de données depuis le répertoire d'install !  Ne pas oublier d'initier la base de données depuis le répertoire d'install ! 
Ligne 24: Ligne 26:
   docker compose ps   docker compose ps
   docker compose logs -f   docker compose logs -f
-éteindre +éteindre et virer les processus orphelins (les pauvres) 
-  docker-compose down+  docker-compose down --remove-orphans
  
 +===== Ressources complémentaires - troubleshouting =====
 +  * La documentation Libretime https://libretime.org/docs/
 +  * Le forum Libretime https://discourse.libretime.org/
 +  * Problème de lecture des flux https comme webstream dans libretime https://github.com/libretime/libretime/issues/2938 et https://github.com/LibreTime/libretime/issues/1068
 ===== Libretime Docker docker-compose.yml ===== ===== Libretime Docker docker-compose.yml =====
 <file yml docker-compose.yml> <file yml docker-compose.yml>
Ligne 509: Ligne 515:
  
 </file> </file>
 +
 +===== Proxy Apache vhosts =====
 +<file php radio.org.conf>
 + 
 +## Libretime - docker-container
 +<VirtualHost *:80>
 +
 +       ServerAdmin monmail@riseup.net 
 +       ServerName ****.***********.org
 +
 +       ErrorLog ${APACHE_LOG_DIR}/****.***********.org-error.log
 +       CustomLog ${APACHE_LOG_DIR}/****.***********.org-access.log combined
 +
 + ProxyPreserveHost       On
 + ProxyRequests           Off
 +
 +
 +       <Proxy *>
 +               Order deny,allow
 +               Allow from all
 +       </Proxy>
 +
 +RewriteEngine on
 +RewriteCond %{SERVER_NAME} =****.***********.org
 +RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
 +</VirtualHost>
 +
 +<file php radio.org-le-ssl.conf >
 +<IfModule mod_ssl.c>
 +<VirtualHost  *:443>
 +
 +    ServerAdmin **@riseup.net
 +    ServerName ****.***********.org
 +
 +       ErrorLog ${APACHE_LOG_DIR}/****.***********.org-error.log
 +       CustomLog ${APACHE_LOG_DIR}/****.***********.org-access.log combined
 +
 + ProxyPreserveHost On
 + ProxyRequests Off  
 +
 +       <Location />
 +        ProxyPass           http://localhost:8080/
 +        ProxyPassReverse    http://localhost:8080/
 +       </Location>
 +
 +       <Proxy *>
 +               Order deny,allow
 +               Allow from all
 +       </Proxy>
 +
 +        SSLEngine on
 +        SSLProxyEngine On
 +        SSLProxyVerify none
 +        SSLProxyCheckPeerCN off
 +        SSLProxyCheckPeerName off
 +        SSLProxyCheckPeerExpire off
 +
 + SSLCertificateFile /etc/letsencrypt/live/****.***********.org/fullchain.pem
 + SSLCertificateKeyFile /etc/letsencrypt/live/****.***********.org/privkey.pem
 + Include /etc/letsencrypt/options-ssl-apache.conf
 +</VirtualHost>
 +</IfModule>
 +</file>
 +
libretime_container_docker.1766095288.txt.gz · Dernière modification : de Benjamin Labomedia