2022-06-09 17:21:29 +02:00
|
|
|
#
|
|
|
|
# This file is used for development. It it not intended for production!
|
|
|
|
# See https://libretime.org/docs/developer-manual/development/environment/#docker-compose
|
|
|
|
#
|
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
ports:
|
|
|
|
- 5432:5432
|
|
|
|
|
|
|
|
rabbitmq:
|
|
|
|
image: rabbitmq:management-alpine
|
|
|
|
ports:
|
|
|
|
- 5672:5672
|
|
|
|
- 15672:15672
|
|
|
|
|
|
|
|
playout:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: libretime-playout
|
|
|
|
volumes:
|
|
|
|
- ./playout:/src
|
2023-03-30 23:23:55 +02:00
|
|
|
- ./dev/playout:/app
|
2022-06-09 17:21:29 +02:00
|
|
|
|
|
|
|
liquidsoap:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: libretime-playout
|
|
|
|
ports:
|
|
|
|
- 1234:1234
|
|
|
|
volumes:
|
|
|
|
- ./playout:/src
|
2023-03-30 23:23:55 +02:00
|
|
|
- ./dev/playout:/app
|
2023-03-30 20:39:02 +02:00
|
|
|
- ./dev/certs:/certs
|
2023-02-26 19:39:10 +01:00
|
|
|
## See https://libretime.org/docs/admin-manual/tutorials/setup-a-pulseaudio-output-inside-containers/
|
2023-03-30 23:23:55 +02:00
|
|
|
# - ./dev/pulse.socket:/tmp/pulse.socket
|
2023-02-26 19:39:10 +01:00
|
|
|
# - ./docker/pulse.client.conf:/etc/pulse/client.conf
|
2022-06-09 17:21:29 +02:00
|
|
|
|
|
|
|
analyzer:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: libretime-analyzer
|
|
|
|
volumes:
|
|
|
|
- ./analyzer:/src
|
|
|
|
|
|
|
|
worker:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: libretime-worker
|
|
|
|
volumes:
|
|
|
|
- ./worker:/src
|
|
|
|
|
|
|
|
api:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: libretime-api
|
|
|
|
volumes:
|
|
|
|
- ./api:/src
|
|
|
|
command: /usr/local/bin/libretime-api runserver 0.0.0.0:9001
|
|
|
|
environment:
|
|
|
|
LIBRETIME_DEBUG: "true"
|
|
|
|
|
|
|
|
legacy:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
target: libretime-legacy
|
|
|
|
volumes:
|
|
|
|
- ./legacy:/var/www/html
|
|
|
|
|
|
|
|
nginx:
|
|
|
|
volumes:
|
|
|
|
- ./legacy:/var/www/html
|
2023-02-25 14:58:38 +01:00
|
|
|
|
|
|
|
icecast:
|
2023-04-11 19:30:46 +02:00
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
- 8443:8443
|
2023-02-25 14:58:38 +01:00
|
|
|
environment:
|
|
|
|
ICECAST_MAX_SOURCES: 10
|
2023-04-11 19:30:46 +02:00
|
|
|
volumes:
|
|
|
|
- ./dev/certs:/certs
|
|
|
|
- ./dev/icecast.xml:/etc/icecast.xml
|
2023-05-31 18:05:28 +02:00
|
|
|
|
|
|
|
mailpit:
|
|
|
|
image: axllent/mailpit
|
|
|
|
ports:
|
|
|
|
- 8025:8025
|
|
|
|
- 1025:1025
|