Rename ndi-to-srt to ndi-feeder.
That name no longer fits what it does.liquidsoap-2.2
parent
9e1be2a0ca
commit
06a4bbd152
|
@ -26,10 +26,10 @@ services:
|
||||||
limits:
|
limits:
|
||||||
cpus: "2"
|
cpus: "2"
|
||||||
memory: 768M
|
memory: 768M
|
||||||
ndi-to-srt:
|
ndi-feeder:
|
||||||
image: icedream/ndi-to-srt
|
image: icedream/ndi-feeder
|
||||||
restart: always
|
restart: always
|
||||||
build: ndi-to-srt
|
build: ndi-feeder
|
||||||
# HACK - haven't quite figured out the ports SRT/NDI use
|
# HACK - haven't quite figured out the ports SRT/NDI use
|
||||||
network_mode: host
|
network_mode: host
|
||||||
deploy:
|
deploy:
|
||||||
|
|
|
@ -10,10 +10,10 @@ RUN chmod -v +x *.sh
|
||||||
|
|
||||||
FROM archlinux
|
FROM archlinux
|
||||||
|
|
||||||
WORKDIR /usr/src/ndi-to-srt/
|
WORKDIR /usr/src/ndi-feeder/
|
||||||
RUN pacman --noconfirm -Sy git sudo make binutils fakeroot base-devel
|
RUN pacman --noconfirm -Sy git sudo make binutils fakeroot base-devel
|
||||||
RUN echo "" && echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
RUN echo "" && echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||||
RUN useradd -UMr -d /usr/src/ndi-to-srt/ -G wheel app
|
RUN useradd -UMr -d /usr/src/ndi-feeder/ -G wheel app
|
||||||
RUN chown -R app .
|
RUN chown -R app .
|
||||||
|
|
||||||
USER app
|
USER app
|
||||||
|
@ -24,6 +24,6 @@ RUN yay --noconfirm -S ndi-advanced-sdk && sudo rm -r ~/.cache /var/cache/pacman
|
||||||
RUN yay --noconfirm -S ffmpeg-ndi && sudo rm -r ~/.cache /var/cache/pacman/*
|
RUN yay --noconfirm -S ffmpeg-ndi && sudo rm -r ~/.cache /var/cache/pacman/*
|
||||||
|
|
||||||
COPY --from=0 /target/ /
|
COPY --from=0 /target/ /
|
||||||
CMD ["ndi-to-srt.sh"]
|
CMD ["ndi-feeder.sh"]
|
||||||
|
|
||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
Loading…
Reference in New Issue