summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-26 14:09:55 +0100
committerRory& <root@rory.gay>2025-12-26 14:09:55 +0100
commit298802b2ab887937a203c2e70dfeb5085f4a8932 (patch)
treedcd8f0a565eef65632ed76870a26405381d4e522 /host
parentUse flake export for nixos module (diff)
downloadRory-Open-Architecture-298802b2ab887937a203c2e70dfeb5085f4a8932.tar.xz
Port setting
Diffstat (limited to 'host')
-rw-r--r--host/Rory-ovh/services/containers/spacebar/services/spacebar.nix21
1 files changed, 20 insertions, 1 deletions
diff --git a/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix b/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix

index 4e2de04..51170ef 100644 --- a/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix +++ b/host/Rory-ovh/services/containers/spacebar/services/spacebar.nix
@@ -10,8 +10,27 @@ in apiEndpoint = sb.mkEndpoint "api.rory.server.spacebar.chat" 3001 true; gatewayEndpoint = sb.mkEndpoint "gateway.rory.server.spacebar.chat" 3002 true; cdnEndpoint = sb.mkEndpoint "cdn.rory.server.spacebar.chat" 3003 true; + cdnPath = "/storage"; settings = { - + + }; + extraEnvironment = { + DATABASE = "postgres://spacebar:spacebar@192.168.100.1/spacebar"; + #WEBRTC_PORT_RANGE=60000-61000; + #PUBLIC_IP=216.230.228.60; + LOG_REQUESTS = "-200,204,304"; + LOG_VALIDATION_ERRORS = true; + #DB_LOGGING=true; + #LOG_GATEWAY_TRACES=true; + #LOG_PROTO_UPDATES=true; + #LOG_PROTO_FRECENCY_UPDATES=true; + #LOG_PROTO_SETTINGS_UPDATES=true; + #WRTC_PUBLIC_IP=webrtc.old.server.spacebar.chat; + WRTC_PUBLIC_IP = "216.230.228.19"; + WRTC_PORT_MIN = 60000; + WRTC_PORT_MAX = 65000; + WRTC_LIBRARY = "@spacebarchat/medooze-webrtc"; + #WRTC_LIBRARY=mediasoup-spacebar-wrtc; }; }; }