Open annaparker opened 7 months ago
Create a .env file with your password. Then pass that into the container. Edit the bc2rome.sh and tell it to include the passwd. That is what I did and it is working.
docker-compose.yml
services:
bc2rome:
image: russianvivi/bc2rome:latest
environment:
X11VNC_PASS: ${X11VNC_PASS}
ports:
- "19026:19026/tcp"
- "19021:19021/tcp"
- "19567:19567/udp"
- "18390:18390/udp"
- "5900:5900/tcp"
- "8088:80/tcp"
- "48888:48888/tcp"
volumes:
- "./Instance:/project/R34_Full/Instance"
- "./bc2rome.sh:/project/bc2rome.sh"
command: >
sh -c "chown 1000:1000 -R /project/bc2rome.sh &&
/bin/bash /project/bc2rome.sh"
Edited bc2rome.sh (for some reason rebuilding did not add my changes so included it when container started)
winetricks dinput8
winetricks vcrun2005
winetricks vcrun2008
winetricks vcrun2010
export DISPLAY=:1
Xvfb :1 -screen 0 800x600x16 &
x11vnc -passwd $X11VNC_PASS -bg -reopen -forever
sleep 10s
cd /project/R34_Full
wine Frost.Game.Main_Win32_Final.exe -serverInstancePath "Instance/" -mapPack2Enabled 1 -port 19567 -timeStampLogNames -region EU -heartBeatInterval 20000```
There is no any note that script opens VNC server without password. I think the password is must have for VNC. Sooner or later the bots will scan VNC session.