fix: replace port 5000 in example docs with port 6000

macOS runs a service on port 5000 by default. this doesn't actually
prevent the backend server from *starting*, or the rate limiter proxy
from working, but it *does* mean that when the backend restarts, if the
proxy sends a request, it will stop working until it's restarted.

the easiest way to work around this is by just changing the port the
backend listens on. this does not change the ports used in the docker
configuration.
This commit is contained in:
sam 2024-12-25 14:03:15 -05:00
parent 140419a1ca
commit 2281b3e478
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
; The host the server will listen on
Host = localhost
; The port the server will listen on
Port = 5000
Port = 6000
; The base *external* URL
BaseUrl = https://pronouns.localhost
; The base URL for media, without a trailing slash. This must be publicly accessible.

View file

@ -1,7 +1,7 @@
# Example .env file--DO NOT EDIT
# Example .env file--DO NOT EDIT, copy to .env or .env.local then edit
PUBLIC_LANGUAGE=en
PUBLIC_BASE_URL=https://pronouns.cc
PUBLIC_SHORT_URL=https://prns.cc
PUBLIC_API_BASE=https://pronouns.cc/api
PRIVATE_API_HOST=http://localhost:5003/api
PRIVATE_INTERNAL_API_HOST=http://localhost:5000/api
PRIVATE_INTERNAL_API_HOST=http://localhost:6000/api

View file

@ -1,6 +1,6 @@
{
"port": 5003,
"proxy_target": "http://localhost:5000",
"proxy_target": "http://localhost:6000",
"debug": true,
"powered_by": "5 gay rats"
}