On documentation page for RESTful API V2 it will be helpful if adjusted docker compose file with additional port property is mentioned in the area of Enable RESTful Services.
ports:
- "6667:6667"
- "18080:18080"
When users want to enable REST service, an additional port has to be added in the docker compose file.
Best regards
André