add the files
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
---
|
||||
services:
|
||||
obs:
|
||||
build: ./obs
|
||||
container_name: movienight-obs
|
||||
devices:
|
||||
- /dev/dri/renderD128:/dev/dri/renderD128
|
||||
volumes:
|
||||
- ./obs-config:/home/movienight/.config/obs-studio
|
||||
- /srv/media/movies:/mnt/movies:ro
|
||||
- /srv/media/music:/mnt/music:ro
|
||||
- /srv/media/tv:/mnt/tv:ro
|
||||
- ./assets:/mnt/assets
|
||||
ports:
|
||||
- 100.70.0.2:5901:5901
|
||||
networks:
|
||||
- movienight
|
||||
|
||||
mediamtx:
|
||||
image: bluenviron/mediamtx:latest-ffmpeg
|
||||
container_name: movienight-mediamtx
|
||||
volumes:
|
||||
- ./mediamtx.yml:/mediamtx.yml
|
||||
ports:
|
||||
- 8554:8554
|
||||
networks:
|
||||
- movienight
|
||||
|
||||
# rac:
|
||||
# image: ghcr.io/goauthentik/rac:latest
|
||||
# container_name: movienight-rac
|
||||
# environment:
|
||||
# - AUTHENTIK_HOST=http://authentik-server-1:9000
|
||||
# - AUTHENTIK_INSECURE=1
|
||||
# - AUTHENTIK_TOKEN=
|
||||
# networks:
|
||||
# - movienight
|
||||
# - authentik
|
||||
|
||||
networks:
|
||||
movienight:
|
||||
# authentik:
|
||||
# external: true
|
||||
# name: "authentik_authentik"
|
||||
@@ -0,0 +1,19 @@
|
||||
FROM archlinux:latest
|
||||
|
||||
RUN pacman -Syu --noconfirm
|
||||
RUN pacman -S --noconfirm xorg-server xorg-xinit xorg-xauth openbox obconf-qt tigervnc xfce4-terminal thunar ttf-dejavu ttf-liberation
|
||||
RUN pacman -S --noconfirm vpl-gpu-rt obs-studio libfdk-aac vlc
|
||||
RUN pacman -Scc --noconfirm
|
||||
|
||||
RUN useradd -m -s /usr/bin/bash -G input movienight
|
||||
|
||||
USER movienight
|
||||
WORKDIR /home/movienight
|
||||
|
||||
RUN mkdir -p /home/movienight/.config/tigervnc
|
||||
RUN echo 'movienight' | vncpasswd -f > /home/movienight/.config/tigervnc/passwd && chmod 600 /home/movienight/.config/tigervnc/passwd
|
||||
RUN echo -e "geometry=1600x900\ndepth=24\nsession=openbox\nalwaysshared\npasswordfile=/home/movienight/.config/tigervnc/passwd" > /home/movienight/.config/tigervnc/config
|
||||
COPY --chown=movienight menu.xml /home/movienight/.config/openbox/menu.xml
|
||||
|
||||
USER root
|
||||
CMD ["vncsession", "-D", "movienight", ":1"]
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openbox_menu>
|
||||
<menu id="root-menu" label="OpenBox 3">
|
||||
<item label="OBS Studio"> <action name="Execute">
|
||||
<execute>obs</execute>
|
||||
</action> </item>
|
||||
<item label="Terminal"> <action name="Execute">
|
||||
<execute>xfce4-terminal</execute>
|
||||
</action> </item>
|
||||
<item label="File Manager"> <action name="Execute">
|
||||
<execute>thunar</execute>
|
||||
</action> </item>
|
||||
<!-- <item label="Configure Openbox"> <action name="Execute">
|
||||
<execute>obconf-qt</execute>
|
||||
</action> </item> -->
|
||||
<separator/>
|
||||
<item label="Stop Container"> <action name="Exit"/> </item>
|
||||
</menu>
|
||||
</openbox_menu>
|
||||
@@ -0,0 +1 @@
|
||||
This folder contains the files used to run OBS inside a docker container as well as in conjunction with Mediamtx and a Authentik RAC. The intention is to access the openbox desktop via VNC to configure OBS.
|
||||
Reference in New Issue
Block a user