Giter Club home page Giter Club logo

Comments (3)

openSourceBugs avatar openSourceBugs commented on May 23, 2024

Update this with your app domain

DOMAIN=localhost

DOMAIN=localhost.tiangolo.com

SERVER_HOST=http://localhost

PROJECT_NAME="FastAPI Project"

STACK_NAME=fastapi-project

Backend

BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173"
SECRET_KEY=foo
FIRST_SUPERUSER=[email protected]
FIRST_SUPERUSER_PASSWORD=foo
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
EMAILS_FROM_EMAIL=[email protected]
SMTP_TLS=True
SMTP_PORT=587

USERS_OPEN_REGISTRATION=False

Postgres

POSTGRES_SERVER=db
POSTGRES_USER=postgres
POSTGRES_DB=app
POSTGRES_PASSWORD=foo

PgAdmin

PGADMIN_DEFAULT_EMAIL=[email protected]
PGADMIN_DEFAULT_PASSWORD=foo
PGADMIN_LISTEN_PORT=5050

SENTRY_DSN=

Flower

FLOWER_BASIC_AUTH=

Configure these with your own Docker registry images

DOCKER_IMAGE_BACKEND=backend
DOCKER_IMAGE_CELERYWORKER=celery
DOCKER_IMAGE_FRONTEND=frontend

from full-stack-fastapi-template.

openSourceBugs avatar openSourceBugs commented on May 23, 2024

Probably going to give up on this project for a bit since the documentation isn't working for me. Too bad. I was excited to see a project that takes away a lot of boilerplate.

from full-stack-fastapi-template.

opyate avatar opyate commented on May 23, 2024

Check the docker-compose logs. Did the backend start up without errors?

You're looking for a clean startup:

backend_1   | INFO:     Will watch for changes in these directories: ['/app']
backend_1   | INFO:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
backend_1   | INFO:     Started reloader process [1] using WatchFiles
backend_1   | INFO:     Started server process [11]
backend_1   | INFO:     Waiting for application startup.
backend_1   | INFO:     Application startup complete.

This has to work from your browser: http://localhost/api/v1/openapi.json

openapi

If you get it working, let us know how you did it, then close the issue.

from full-stack-fastapi-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.