feat: 모델 및 데이터베이스 구조 개선

- 모델 파일들의 데이터베이스 연결 및 쿼리 최적화
- 마이그레이션 파일 정리 및 통합
- Docker 설정 파일 추가
- 프로젝트 시작/중지 스크립트 추가
- README 및 문서 업데이트
This commit is contained in:
hyungi
2025-10-27 10:01:12 +09:00
parent f96604b01e
commit 5ff0c7cd60
19 changed files with 13972 additions and 33 deletions

View File

@@ -7,7 +7,7 @@ from typing import List
class Settings:
# 기본 설정
FASTAPI_PORT: int = int(os.getenv("FASTAPI_PORT", "8000"))
EXPRESS_API_URL: str = os.getenv("EXPRESS_API_URL", "http://localhost:3005")
EXPRESS_API_URL: str = os.getenv("EXPRESS_API_URL", "http://api:20005")
REDIS_URL: str = os.getenv("REDIS_URL", "redis://localhost:6379")
NODE_ENV: str = os.getenv("NODE_ENV", "development")

View File

@@ -0,0 +1,17 @@
version: "3.8"
services:
fastapi-bridge:
build:
context: .
dockerfile: Dockerfile
container_name: fastapi_bridge_hyungi
restart: unless-stopped
ports:
- "20010:8000"
networks:
- hyungi_network
networks:
hyungi_network:
external: true