Closed WP-LKL closed 2 years ago
Hi, thanks for reporting.
I don't see any error. Application startup process completed successfully.
If you want to reach an application from host, please check docker-compose configuration and add missing ports
directive like this:
services:
api:
...
ports:
- "8000:8000"
After this modification you can reach your app on port 8000.
This template doesn't expose application ports by default.
If your first question was about failed pre-commit
tests, then it's totally okay.
Template runs pre-commit
twice to check if all problems were fixed by the firs run of pre-commit
.
I've created an issue (#74) to fix application availability for local development.
Wonderful @s3rius!
I do not wish to bloat the documentation. Although I. noting the /api/ prefix for the endpoints and II. informing during the initialization script that some tests are expected to fail during the first pass of the pre-commit is something we might consider.
Thanks again, this is a truly great project!
Thanks. I'll add a note about it in docs.
Building and then running with docker-compose the server is unreachable on localhost:8000 or 0.0.0.0:8000:
What default configuration are you testing with @s3rius that I could try, or more likely -- I am performing an error at some point?