Commit 9953c04e authored by root's avatar root
Browse files

blaargd

parent 4b79d3c4
version: '3'
services:
nginx-rtmp:
# image: alfg/nginx-rtmp:latest
image: 9313fe22d925
restart: unless-stopped
ports:
- 1935:1935
- 8080:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- /mnt/radio:/mnt/radio
nginx-rtmp:
#image: alfg/nginx-rtmp:latest
#image: 9313fe22d925
build:
context: .
dockerfile: nginx-rtmp.dockerfile
restart: unless-stopped
ports:
- 1935:1935
- 8080:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- /mnt/radio:/mnt/radio
liquidsoap:
build:
context: .
dockerfile: liquidsoap.dockerfile
restart: unless-stopped
ports:
- 8051:8051
- 9051:9051
volumes:
- /mnt/radio:/mnt/radio
liquidsoap:
build:
context: .
dockerfile: liquidsoap.dockerfile
restart: unless-stopped
ports:
- 8051:8051
- 9051:9051
volumes:
- /mnt/radio:/mnt/radio
# LS build container
FROM alpine:3.11 as ls-build
FROM alpine:3.12 as ls-build
RUN apk --no-cache add \
opam \
......@@ -13,7 +13,9 @@ RUN apk --no-cache add \
pcre-dev \
libvorbis-dev \
lame-dev \
opus-dev
libmad-dev \
opus-dev \
fdk-aac-dev
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
USER appuser
......@@ -26,18 +28,22 @@ RUN opam update && \
liquidsoap \
vorbis \
lame \
mad \
opus \
cry
cry \
fdkaac
# LS container
FROM alpine:3.11 as liquidsoap
FROM alpine:3.12 as liquidsoap
RUN apk --no-cache add \
pcre \
lame \
libmad \
opus \
libvorbis
libvorbis \
fdk-aac
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
USER appuser
......@@ -48,4 +54,4 @@ WORKDIR /app
COPY notlive.ogg /app/notlive.ogg
COPY playlist.liq .
CMD ["/home/appuser/.opam/default/bin/liquidsoap", "playlist.liq"]
CMD ["/home/appuser/.opam/default/bin/liquidsoap", "--debug-errors", "playlist.liq"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment