ResolveCollaboration
ResolveCollaboration copied to clipboard
feature/idea: add docker/unraid?
Iv attempted to run this on unraid in a vm with mixed results (the fault of my vm) running the app in a docker container would be much more elegant if there could be a webUI
I second this request, though I have had less issue getting it set up in a VM in Unraid, apart from the fact that I cannot authenticate and don't know how to establish the Wireguard connection.
Never heard of Unraid until now! I love this idea! Thanks for suggesitng.
I'm not entirely sure the OS-control limitations of a docker container but I'll look into it.
Never heard of Unraid until now! I love this idea! Thanks for suggesting.
I'm not entirely sure the OS-control limitations of a docker container but I'll look into it.
I have been trying to learn how to make docker images myself. While I still don't know what I'm doing so take this with a grain of salt... I can tell you that It should be possible. postgress and wireguard both work inside unraid as a docker container I have actually managed to get a database setup that way but I havn't been able to configure PGadmin properly so its kinda a pain to manage and I really wish it had a gui. On the topic of the Gui thing is also doable with making a x server virtual display that gets access via vnc / webgui
Unraid has a community made app store that makes it super easy to setup docker images with pre made templates.
this was all the progress I made. I got the app working I think but getting it to open in vnc i haven't figured out. `FROM ubuntu ENV USER=root ENV PASSWORD=password1 ENV DEBIAN_FRONTEND=noninteractive ENV DEBCONF_NONINTERACTIVE_SEEN=true LABEL maintainer="Parhaam"
RUN apt update -y RUN apt upgrade -y
RUN apt-get update && apt-get install -y
wireguard
python3.6
python3-pip
git &&
pip3 install PyQt5==5.15.2 cryptography psycopg2-binary elevate &&
git clone https://github.com/jonnyhyman/ResolveCollaboration.git &&
echo "tzdata tzdata/Areas select America" > ~/tx.txt &&
echo "tzdata tzdata/Zones/America select New York" >> ~/tx.txt &&
apt-get install -y gnupg apt-transport-https wget software-properties-common ratpoison novnc websockify libxv1 libglu1-mesa xauth x11-utils xorg tightvncserver &&
debconf-set-selections ~/tx.txt &&
wget https://svwh.dl.sourceforge.net/project/virtualgl/2.6.3/virtualgl_2.6.3_amd64.deb &&
wget https://iweb.dl.sourceforge.net/project/turbovnc/2.2.4/turbovnc_2.2.4_amd64.deb &&
dpkg -i virtualgl_.deb &&
dpkg -i turbovnc_.deb &&
mkdir ~/.vnc/ &&
echo $PASSWORD | vncpasswd -f > ~/.vnc/passwd &&
chmod 0600 ~/.vnc/passwd &&
echo "set border 1" > ~/.ratpoisonrc &&
echo "exec python3 /ResolveCollaboration/rmc/rmc_server.py">> ~/.ratpoisonrc &&
openssl req -x509 -nodes -newkey rsa:2048 -keyout ~/novnc.pem -out ~/novnc.pem -days 3650 -subj "/C=US/ST=NY/L=NY/O=NY/OU=NY/CN=NY [email protected]"
EXPOSE 80
CMD /opt/TurboVNC/bin/vncserver && websockify -D --web=/usr/share/novnc/ --cert=~/novnc.pem 80 localhost:5901 && tail -f /dev/null`