-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Vitalii Furmanov edited this page Oct 19, 2024
·
1 revision
Before instalation read Notes and Troubleshooting
- Ensure that Docker and Docker Compose are installed.
- Install required packages using:
-
ffmpeg js xorg-xrandr mesa lib32-mesa xf86-video-amdgpu vulkan-radeon lib32-vulkan-radeon libva-mesa-driver mkcert
- Install required packages using from AUR via
yay
or another manager:yay -S drm_info mongodb-bin
- Clone the main repository:
git clone https://github.com/FurmanovVitaliy/self-hosted-cloud-gaming-service.git cd self-hosted-cloud-gaming-service
- Clone the repository containing the necessary Docker images and build them :
git clone https://github.com/FurmanovVitaliy/gaming-vm-in-dockers cd gaming-vm-in-dockers # Build the base image docker build -t arch:base ./base # Build the ffmpeg-audio image docker build -t arch:ffmpeg-audio ./ffmpeg-audio # Build the ffmpeg-video image docker build -t arch:ffmpeg-video ./ffmpeg-video # Build the portprotone image docker build -t arch:portprotone ./portprotone # Build the pulseaudio image docker build -t arch:pulseaudio ./pulseaudio
- Clone the repository with a script that allows you to run virtual displays:
git clone https://github.com/FurmanovVitaliy/virtual-monotors-script cd virtual-monotors-script docker-compose build
- Ensure you create certificates using
mkcert
and build the containers. - Find
example_config.yaml
inserver/config/example_config.yaml
rename it tolocal.yaml
and make sure that configaration in your config. Edit thelocal.yaml
to ensure the paths to the scripts, certificates, directories, and container names are accurate. - Project redy to start.
#To run serverside: cd self-hosted-cloud-gaming-service/server/cmd go run main.go #To run web interface: cd self-hosted-cloud-gaming-service/web npm run start
For questions or feedback, please reach out to Vitalii
This project is licensed under the MIT License