From afafb4e46f0963cc5af8aefde28c4dbb5db8748a Mon Sep 17 00:00:00 2001 From: brodokk Date: Thu, 18 Feb 2021 00:17:14 +0100 Subject: Fix Windows support Use folders for volumes instead of files since Windows Docker hosts *only* support folders for volumes. See Docker documentation for more information. --- config/Config.json | 17 +++++++++++++++++ docker-compose.yml | 2 +- neosvr.conf.json | 17 ----------------- 3 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 config/Config.json delete mode 100644 neosvr.conf.json diff --git a/config/Config.json b/config/Config.json new file mode 100644 index 0000000..20accdb --- /dev/null +++ b/config/Config.json @@ -0,0 +1,17 @@ +{ + "tickRate": 60.0, + "usernameOverride": "Headless docker", + "loginCredential": null, + "loginPassword": null, + "startWorld": { + "sessionName": "Testing", + "description": "Headless with docker", + "maxUsers": 16, + "accessLevel": "Anyone", + "tags": "hosted", + "mobileFriendly": false, + "loadWorldURL": null, + "loadWorldPresetName": "GridSpace", + "adminUsernames": [] + } +} diff --git a/docker-compose.yml b/docker-compose.yml index 95fd75c..08393d6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,6 @@ services: BETA_KEY: *** volumes: - ./steam:/steam - - ./neosvr.conf.json:/steam/740250/Config/Config.json + - ./config:/steam/740250/Config stdin_open: true tty: true diff --git a/neosvr.conf.json b/neosvr.conf.json deleted file mode 100644 index 20accdb..0000000 --- a/neosvr.conf.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "tickRate": 60.0, - "usernameOverride": "Headless docker", - "loginCredential": null, - "loginPassword": null, - "startWorld": { - "sessionName": "Testing", - "description": "Headless with docker", - "maxUsers": 16, - "accessLevel": "Anyone", - "tags": "hosted", - "mobileFriendly": false, - "loadWorldURL": null, - "loadWorldPresetName": "GridSpace", - "adminUsernames": [] - } -} -- cgit v1.2.1