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:
parent
140419a1ca
commit
2281b3e478
3 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
; The host the server will listen on
|
; The host the server will listen on
|
||||||
Host = localhost
|
Host = localhost
|
||||||
; The port the server will listen on
|
; The port the server will listen on
|
||||||
Port = 5000
|
Port = 6000
|
||||||
; The base *external* URL
|
; The base *external* URL
|
||||||
BaseUrl = https://pronouns.localhost
|
BaseUrl = https://pronouns.localhost
|
||||||
; The base URL for media, without a trailing slash. This must be publicly accessible.
|
; The base URL for media, without a trailing slash. This must be publicly accessible.
|
||||||
|
|
|
@ -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_LANGUAGE=en
|
||||||
PUBLIC_BASE_URL=https://pronouns.cc
|
PUBLIC_BASE_URL=https://pronouns.cc
|
||||||
PUBLIC_SHORT_URL=https://prns.cc
|
PUBLIC_SHORT_URL=https://prns.cc
|
||||||
PUBLIC_API_BASE=https://pronouns.cc/api
|
PUBLIC_API_BASE=https://pronouns.cc/api
|
||||||
PRIVATE_API_HOST=http://localhost:5003/api
|
PRIVATE_API_HOST=http://localhost:5003/api
|
||||||
PRIVATE_INTERNAL_API_HOST=http://localhost:5000/api
|
PRIVATE_INTERNAL_API_HOST=http://localhost:6000/api
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"port": 5003,
|
"port": 5003,
|
||||||
"proxy_target": "http://localhost:5000",
|
"proxy_target": "http://localhost:6000",
|
||||||
"debug": true,
|
"debug": true,
|
||||||
"powered_by": "5 gay rats"
|
"powered_by": "5 gay rats"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue