Skip to content

bontebok/neosvr-headless

Repository files navigation

neosvr-headless

Docker image of a NeosVR headless server, forked from https://github.com/shadowpanther/neosvr-headless

Changed the behavior to map the UID of the internal docker image to the user who is maintaining the Config/Logs. Also added a work-around for the expired Let's Encrypt certificate so that the headless server can connect to hosts via HTTP GET/POST, WebSockets, etc.

See NeosVR Discord for beta access key. Steam login is required to download the client. You'll have to disable SteamGuard, so probably create a separate Steam account for your headless server.

Sample docker-compose:

version: "3.3"
services:
  image:
    image: shadowpanther/neosvr-headless:latest
    container_name: neosvr-headless
    tty: true
    stdin_open: true
    environment:
      STEAMBETA: see-discord-for-headless
      STEAMBETAPASSWORD: see-discord-for-headless
      STEAMLOGIN: "your_steam_login your_steam_password"
    volumes:
      - "./Config:/Config:ro"
      - "./Logs:/Logs"
      - "/etc/localtime:/etc/localtime:ro"
    restart: unless-stopped

Place your Config.json into Config folder. Logs would be stored in Logs folder.

You probably need to set vm.max_map_count=262144 by doing echo "vm.max_map_count=262144" >> /etc/sysctl.conf lest you end up with frequent GC crashes.

About

Docker image of a NeosVR headless server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 72.4%
  • Shell 27.6%