- Make sure following env vars set in your host system:
$POSTGRES_PASSWORD
$POSTGRES_USER
$POSTGRES_DB
$POSTGRES_URL
$POSTGRES_PORT
- Run local server
$ cd poll-manager $ docker-compose up -d
- Apply db migrations
$ docker exec -it pm_fastapi alembic upgrade head
- Navigate to Swagger UI: http://0.0.0.0:8000/docs