diff --git a/var/config.individualPorts.yaml b/var/config.individualPorts.yaml new file mode 100644 index 0000000..2cb42c5 --- /dev/null +++ b/var/config.individualPorts.yaml @@ -0,0 +1,18 @@ +# This tells OliveTin to not spawn the internal micro reverse proxy. +# +# This gives you more fine grained control, but requires quite a bit more setup. +# Most users will set this to "true" and use the built-in micro reverse proxy. +useSingleHTTPFrontend: false + +# The WebUI is simply a static webserver. OliveTin comes with one builtin to +# make things easy, but you can also host the "webui" directory on a static +# webserver. +#listenAddressWebUI: 0.0.0.0:1340 + +# The REST API is used by the WebUI. +#listenAddressRestActions: 0.0.0.0:1338 + +# The gRPC API is unsed by the WebUI, and can also be limited to localhost:1339. +#listenAddressGrpcActions: 0.0.0.0:1339 + + diff --git a/var/config.yaml b/var/config.yaml index 4f4c01b..05eba91 100644 --- a/var/config.yaml +++ b/var/config.yaml @@ -1,13 +1,7 @@ -# The WebUI is simply a static webserver. OliveTin comes with one builtin to -# make things easy, but you can also host the "webui" directory on a static -# webserver. -listenAddressWebUI: 0.0.0.0:1337 # Listen on all addresses available, port 1337 - -# The REST API is used by the WebUI. -#listenAddressRestActions: 0.0.0.0:1338 - -# The gRPC API is unsed by the WebUI, and can also be limited to localhost:1339. -#listenAddressGrpcActions: 0.0.0.0:1339 +# There is a built-in micro proxy that will host the webui and REST API all on +# one port (this is called the "Single HTTP Frontend") and means you just need +# one open port in the container/firewalls/etc. +ListenAddressSingleHTTPFrontend: 0.0.0.0:1337 # Listen on all addresses available, port 1337 # Choose from INFO (default), WARN and DEBUG logLevel: "INFO"