Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Sample installation

Guillaume edited this page Jul 27, 2021 · 6 revisions

docker-compose.yml file:

version: "3.6"

# make sure to have a .env file in the same directory

services:
  libretime:
    image: odclive/libretime-docker:latest
    container_name: libretime
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=${TZ}
    volumes:
      - ${USERDIR}/docker/libretime/airtime:/etc/airtime
      - ${USERDIR}/docker/libretime/stor:/srv/airtime/stor
      - ${USERDIR}/docker/libretime/watch:/srv/airtime/watch
      - libretime_postgres:/var/lib/postgresql/11/main
      - ${USERDIR}/docker/libretime/liquidsoap:/usr/local/lib/python3.7/dist-packages/airtime_playout-1.0-py3.7.egg/liquidsoap/
    ports:
      - 80:80
      - 8000:8000
    restart: always

volumes:
  libretime_postgres:

.env file (in the same directory):

USERDIR=/srv
TZ=FR

With these, run docker-compose up. The first up will trigger installation. It will need you to complete the installation of libretime on your web browser and run docker exec libretime sh /libre_start.sh when asked to run sudo service commands.

You can safely docker-compose down and docker-compose up again.

Clone this wiki locally