Archived
2
0
This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
neko-custom/.docker
Miroslav Šedivý 55005a6f8d
Add nvidia docker gpu acceleration (#238)
* add nvidia dockerfile.

* add nvidia docker to build.

* remove vaapi.

* add google chrome and brave.

* upgrade to virtualgl 3.1.

* add disable-seccomp-filter-sandbox to chrome.

* use vgl display in vglrun.

* Revert "use vgl display in vglrun."

This reverts commit 0cd556b5d8.

* update chrome params.

* update changelog.

* update brave.

* update CI.
2023-03-17 01:12:35 +01:00
..
base Add nvidia docker gpu acceleration (#238) 2023-03-17 01:12:35 +01:00
brave Add nvidia docker gpu acceleration (#238) 2023-03-17 01:12:35 +01:00
chromium Add nvidia docker gpu acceleration (#238) 2023-03-17 01:12:35 +01:00
firefox add role browser to openbox. 2022-11-20 14:40:35 +01:00
google-chrome Add nvidia docker gpu acceleration (#238) 2023-03-17 01:12:35 +01:00
kde add kde image. 2023-03-08 17:49:31 +01:00
microsoft-edge Add nvidia docker gpu acceleration (#238) 2023-03-17 01:12:35 +01:00
opera opera fetch latest. 2022-11-20 14:41:36 +01:00
remmina remmina set password already encrypts it. 2022-03-18 23:07:24 +01:00
tor-browser fix tor browser folder name. 2022-12-13 23:53:50 +01:00
ungoogled-chromium allow downloads folder in chrome policies. 2022-11-23 00:03:51 +01:00
vivaldi allow downloads folder in chrome policies. 2022-11-23 00:03:51 +01:00
vlc rename to .docker, fixes #95. 2021-11-27 14:23:33 +01:00
xfce rename to .docker, fixes #95. 2021-11-27 14:23:33 +01:00
.env.default rename to .docker, fixes #95. 2021-11-27 14:23:33 +01:00
build Add nvidia docker gpu acceleration (#238) 2023-03-17 01:12:35 +01:00
README.md doxc fix mistake. 2022-01-19 18:47:01 +01:00
rebuild-server rename to .docker, fixes #95. 2021-11-27 14:23:33 +01:00
serve-client rename to .docker, fixes #95. 2021-11-27 14:23:33 +01:00
start-server Add nvidia docker gpu acceleration (#238) 2023-03-17 01:12:35 +01:00

How to contribute to neko

If you want to contribute, but do not want to install anything on your host system, we got you covered. You only need docker. Technically, it could be done using vs code development in container, but this is more fun:).

You need to copy .env.default to .env and customize values.

Step 1: Building server

  • ./build - You can use this command to build your specified SERVER_TAG along with base image.

If you want, you can build other tags. base tag needs to be build first:

  • ./build base
  • ./build firefox
  • ./build chromium
  • ./build google-chrome
  • etc...

Step 2: Starting server

  • ./start-server - Starting server image you specified in .env.
  • ./start-server -r - Shortcut for rebuilding server binary and then starting.

If you are changing something in the server code, you do not want to rebuild container each time. You can just rebuild your binary:

  • ./rebuild-server - Rebuild only server binary.
  • ./rebuild-server -f - Force to rebuild whole Golang environment (you should do this only of you change some dependencies).

Step 3: Serving client

  • ./serve-client - Serving vue.js client.
  • ./serve-client -i - Install all dependencies.

Debug

You can navigate to CLIENT_PORT and see live client there. It will be connected to your local server on SERVER_PORT.

If you are leaving client as is and not changing it, you don't need to start ./serve-client and you can access server's GUI directly on SERVER_PORT.

Feel free to open new PR.