HUB
Sign inSign up

darixsamani/fastapipostgresql

By darixsamani

•Updated about 1 year ago

Template for building FastAPI Asynchronous applications with PostgreSQL

Image
Developer tools
Web servers
0

1.9K

darixsamani/fastapipostgresql repository overview

⁠HOW TO RUN APP

⁠Before running the instance of Neo4j, make sure to prepare it properly.
            ```
                 docker run --name postgres -e POSTGRES_PASSWORD=darix   POSTGRES_USER=darix  POSTGRES_DB=darix -d postgres
           ```
⁠Start app
docker run -it -p 8000:8000 darixsamani/fastapipostgresql

⁠I would recommend deploying as a service in Docker Swarm and listen on 0.0.0.0:8000.
docker service create --name fastapipostgresql --publish published=8000,target=8000 darixsamani/fastapipostgresql
Tag summary
Recent tags
Content type
Image
Digest
sha256:f8290aa7e…
Size
458.1 MB
Last updated
about 1 year ago
docker pull darixsamani/fastapipostgresql:c844dee