diff --git a/backend/src/app.py b/backend/src/app.py index df0a720..bc7ac92 100644 --- a/backend/src/app.py +++ b/backend/src/app.py @@ -2,8 +2,8 @@ from jwt_auth.auth_router import router as auth_router from business_router import router as business_router from fastapi.middleware.cors import CORSMiddleware -oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/auth/login") +app = FastAPI() app.add_middleware( CORSMiddleware, diff --git a/backend/src/requirements.txt b/backend/src/requirements.txt index 1a5bbf3..a22e59f 100644 --- a/backend/src/requirements.txt +++ b/backend/src/requirements.txt @@ -1 +1,2 @@ -jwt-auth @ git+https://github.com/agabrielcorujo/jwt-auth.git \ No newline at end of file +jwt-auth @ git+https://github.com/agabrielcorujo/jwt-auth.git +boto3 \ No newline at end of file diff --git a/infra/docker-compose.yml b/infra/docker-compose.yml index a7fc423..5a03d38 100644 --- a/infra/docker-compose.yml +++ b/infra/docker-compose.yml @@ -24,4 +24,11 @@ services: - type: bind source: ../backend/src target: /app - \ No newline at end of file + depends_on: + - redis + + redis: + image: redis:7 + ports: + - "6379:6379" + \ No newline at end of file