aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorbrodokk <brodokk@brodokk.space>2021-11-16 18:27:22 +0100
committerbrodokk <brodokk@brodokk.space>2021-11-16 18:27:22 +0100
commitcef0b02205c9bd409ecc2fc021ade564c7ff36d9 (patch)
tree4427dbd6ae6aed955512905312fdb4f5635df6f4 /README.md
parent02dd6b7942c366da9ee2cf16375585443512c05f (diff)
downloadneosvr_docker-cef0b02205c9bd409ecc2fc021ade564c7ff36d9.tar.xz
neosvr_docker-cef0b02205c9bd409ecc2fc021ade564c7ff36d9.zip
Add portainer support
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8afa1e6..df21b4a 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,8 @@ For that set `LOGIN` and `PASSWORD` environment variables.
You also need the beta key who can be set via the `BETA-KEY` environment
variable.
+## Simple usage
+
Before using it you need to build it and then use it, for example, directly
via docker with the following commands. Keep in mind this took some time, so be
patient.
@@ -38,6 +40,8 @@ spaces) but not needed actually for the NeosVR headless client. And the second
environement variable is for define the app to be launched at start. Both have
as default value the actual NeosVR headless client id `740250`.
+## Docker Compose
+
You can also launch it via docker-compose with the example file
`docker-compose.yml` provided.
@@ -48,6 +52,28 @@ command if you want to control the server.
docker attach <container_name>
```
+## Docker Compose with portainer
+
+You can also use this with this portainer. Launch the stack in
+`docker-compose_portainer.yml` and then import the normal
+`docker-compose.yml` via the web interface.
+
+```
+docker-compose -f docker-compose_portainer.yml up
+```
+
+You will need to replace the three following string in the compose file for
+make it work: `<EMAIL>`, `<PASSWORD>`, `<DOMAIN>`.
+
+For generate password you will need to use the following command (replace `mycutepassword` by your password):
+
+```
+docker run --rm httpd:2.4-alpine htpasswd -nbB admin 'mycutepassword' | cut -d ":" -f 2
+```
+
+And the add `$` in front of all the `$` otherwise you will have a parsing error.
+More information here: https://gist.github.com/deviantony/62c009b41bde5e078b1a7de9f11f5e55
+
# Notes
If you have frequent GC crashes you need to set `vm.max_map_count=262144` in