These are chat archives for reactioncommerce/reaction
groupsattribute is used for in the Tags schema?
EndpointsAPI the request body is empty. I have been able get the body using
req.on("data", ..., just want to know if this is expected behaviour as it isn't used like this in the connectors-spotify plugin?
@dhonig The container runs on port 3000 by default. You can map that to whatever you want in the
docker run command.
docker run -p 8080:3000 ...
The above maps port 8080 on the host to port 3000 on the container.
But if you really need to change the port that Node is running on inside the container (you probably don’t), you can override the default by setting the
PORT environment variable.
docker run -e PORT=8080 -p 8080:8080 ...
I recommend the first example that uses port mapping. It accomplishes the same thing without changing defaults inside the container.