mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2026-01-29 13:32:12 -05:00
continued wip
This commit is contained in:
parent
af43bbc916
commit
263f91fc11
4 changed files with 21 additions and 17 deletions
|
|
@ -1,7 +1,5 @@
|
|||
FROM docker.io/ubuntu:noble
|
||||
|
||||
ENV OBSWS_PASSWORD=""
|
||||
|
||||
RUN apt update && \
|
||||
apt install software-properties-common -y && \
|
||||
add-apt-repository ppa:obsproject/obs-studio -y && \
|
||||
|
|
@ -16,9 +14,7 @@ USER obs
|
|||
|
||||
RUN mkdir -p /home/obs/.config/obs-studio/basic/profiles/Untitled
|
||||
|
||||
RUN echo -e "\n[OBSWebSocket]\nFirstLoad=false\nServerEnabled=true\nServerPort=4455\nAlertsEnabled=false\nAuthRequired=true\nServerPassword=${OBSWS_PASSWORD}\n" >> /home/obs/.config/obs-studio/global.ini
|
||||
|
||||
RUN echo '{"type":"rtmp_common","settings":{"service":"YouTube - RTMPS","protocol":"RTMPS","server":"rtmps://a.rtmps.youtube.com:443/live2","bwtest":false,"key":"${YT_STREAM_KEY}","stream_key_link":"https://www.youtube.com/live_dashboard","multitrack_video_name":"Multitrack Video","multitrack_video_disclaimer":"Multitrack Video automatically optimizes your settings to encode and send multiple video qualities to YouTube - RTMPS. Selecting this option will send YouTube - RTMPS information about your computer and software setup."}}' > /home/obs/.config/obs-studio/basic/profiles/Untitled/service.json
|
||||
RUN echo -e "\n[OBSWebSocket]\nFirstLoad=false\nServerEnabled=true\nServerPort=4455\nAlertsEnabled=false\nAuthRequired=false\nServerPassword=does_not_matter\n" >> /home/obs/.config/obs-studio/global.ini
|
||||
|
||||
COPY requirements.txt /home/obs
|
||||
|
||||
|
|
@ -28,8 +24,6 @@ RUN /home/obs/.venv/bin/pip install -r /home/obs/requirements.txt
|
|||
|
||||
COPY start.sh /home/obs
|
||||
|
||||
COPY setup-obs.py /home/obs
|
||||
|
||||
RUN echo $OBSWS_PASSWORD
|
||||
COPY setup_obs.py /home/obs
|
||||
|
||||
ENTRYPOINT /home/obs/start.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue