Sign inSign up

darixsamani/fastapipostgresql

By darixsamani

Updated 11 months ago

Template for building FastAPI Asynchronous applications with PostgreSQL

Image
Developer tools
Web servers
0

1.5K

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

Content type

Image

Digest

sha256:f8290aa7e

Size

458.1 MB

Last updated

11 months ago

docker pull darixsamani/fastapipostgresql:c844dee