Closed doonze closed 3 months ago
This is already an option using the PORT
env var https://github.com/MrPrimate/ddb-proxy/blob/main/index.js#L18
Oh ok. I looked for config info in every file but index! Thanks, great to know.
Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Jack Holloway @.> Sent: Saturday, August 10, 2024 1:45:21 AM To: MrPrimate/ddb-proxy @.> Cc: Justin Hopper @.>; Author @.> Subject: Re: [MrPrimate/ddb-proxy] Grafana listens on port 3000 in Linux (Issue #28)
This is already an option using the PORT env var https://github.com/MrPrimate/ddb-proxy/blob/main/index.js#L18
— Reply to this email directly, view it on GitHubhttps://github.com/MrPrimate/ddb-proxy/issues/28#issuecomment-2279773368, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF6BHW5UG7ZVLX4JFQTUR3DZQWZIDAVCNFSM6AAAAABMJOFO36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZZG43TGMZWHA. You are receiving this because you authored the thread.Message ID: @.***>
If possible, don't run this directly from OS, and instead use docker. You can just do:
docker run -p [port-you-want]:3000 ghcr.io/mrprimate/ddb-proxy:latest
Just FYI, in case anyone else runs into this. Grafana listens on tcp6 port 3000, and conflicts with the DDB-proxy instance also trying to listen on port 3000. Took some doing to find what was on that port, but once I did, the fix was simple. I took down Grafana. I throw this out there as Grafana is a pretty popular program. I don't see a way to change the port in DDB-proxy. Grafana might have a way, but it was a test project I abandoned a few years ago so just disabled it.
Just putting this out there on the interwebs.