rosscdh
rest api 500 errors permanent
sort of..
1. I encountered and raised the REDIS_URL issue yesterday, the fix was to add REDIS_HOST
2. this issue was because the server is set to run on 3000 and issues tokens based on that port .... however... if in compose you say .. outer port is 3010:3000 <-- inner port maps the server will not recognise requests coming in on 3010 ... its a bit weird tbh.. security should not be bound to ports imho.
15 replies
rest api 500 errors permanent
I just... found the issue...
docker compose
ports:
- 3010:3000 <---- it seems the system uses the internal running port as part of the token generation
I changed to run on 3010 via the env var and the internal port mapping and voila
15 replies
rest api 500 errors permanent
Cant include compose becuase discord char limit
almost stock compose
1. dont use data volumes i prefer local mounts
2. commented out exposed ports on redis and psotgres as dont need to debug data
3. commented restart: always.. this is not production
4. 3010:3000 for main port on server
15 replies