Comments (2)
Are there any errors in the logs?
docker-compose logs -f
from fastapi-crud-async.
I do not know what I did, but I think that restarting everything made it work. Just in case somebody goes through the same problem, here you can see the logs (which do not state any problem):
docker-compose logs -f
Attaching to fastapi-crud-async_web_1, fastapi-crud-async_db_1
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2020-06-26 12:40:34.443 UTC [1] LOG: starting PostgreSQL 12.1 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.2.0) 9.2.0, 64-bit
db_1 | 2020-06-26 12:40:34.446 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db_1 | 2020-06-26 12:40:34.446 UTC [1] LOG: listening on IPv6 address "::", port 5432
db_1 | 2020-06-26 12:40:34.451 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1 | 2020-06-26 12:40:34.494 UTC [21] LOG: database system was shut down at 2020-06-26 10:09:07 UTC
db_1 | 2020-06-26 12:40:34.536 UTC [1] LOG: database system is ready to accept connections
web_1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
web_1 | INFO: Started reloader process [1]
web_1 | INFO: email-validator not installed, email fields will be treated as str.
web_1 | To install, run: pip install email-validator
web_1 | INFO: Started server process [7]
web_1 | INFO: Waiting for application startup.
web_1 | INFO: Connected to database postgresql://hello_fastapi:********@db/hello_fastapi_dev
web_1 | INFO: Application startup complete.
Thanks either way!
from fastapi-crud-async.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastapi-crud-async.