From 860a662ebdfd9b2bd27a754283a25427d13fecbc Mon Sep 17 00:00:00 2001 From: bndw Date: Sat, 14 Feb 2026 12:34:00 -0800 Subject: feat: add example config for VPS deployment Add config.example.yaml based on .ship deployment setup: - gRPC on localhost:50051 - HTTP on localhost:8007 (not 8080) - Public URL: muxstr.x.bdw.to - Metrics enabled with dashboard - Auth/rate-limiting disabled by default Update .ship/service to use config file instead of individual flags: - Old: -db -grpc-addr -ws-addr -public-url flags - New: -config /var/lib/muxstr/config.yaml Deployment: Copy config.example.yaml to /var/lib/muxstr/config.yaml --- .ship/service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.ship/service') diff --git a/.ship/service b/.ship/service index a8e30de..3166559 100644 --- a/.ship/service +++ b/.ship/service @@ -7,7 +7,7 @@ Type=simple User=muxstr WorkingDirectory=/var/lib/muxstr EnvironmentFile=/etc/ship/env/muxstr.env -ExecStart=/usr/local/bin/muxstr -db relay.db -grpc-addr localhost:50051 -ws-addr localhost:8007 -public-url muxstr.x.bdw.to +ExecStart=/usr/local/bin/muxstr -config /var/lib/muxstr/config.yaml Restart=always RestartSec=5s NoNewPrivileges=true -- cgit v1.2.3