f3e97d6c44
Deploy / deploy (push) Successful in 15s
- DB_DATA_DIR 기본값 /data/postgres -> ./data/postgres (다른 스택과 동일하게 프로젝트 폴더 하위에 생성) - data/ gitignore 추가 - deploy: backend/frontend를 매 배포마다 force-recreate - DB 교체 시 스키마 미동기화, nginx 낡은 upstream 캐시 문제 방지 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
26 lines
659 B
Bash
26 lines
659 B
Bash
# ============================================================
|
|
# 환경 변수 템플릿
|
|
# 실제 값은 배포 서버의 .env 파일 또는 Gitea Actions Secret(ENV_FILE)에 보관합니다.
|
|
# 이 파일을 복사해서 .env 로 만들고 값을 채워 넣으세요.
|
|
# ============================================================
|
|
|
|
# PostgreSQL
|
|
DB_PORT=5432
|
|
DB_HOST=postgres
|
|
DB_USER=
|
|
DB_PASSWORD=
|
|
DB_NAME=report_db
|
|
# DB 데이터 저장 경로 (프로젝트 폴더 기준 상대 경로, 기본값 ./data/postgres)
|
|
DB_DATA_DIR=./data/postgres
|
|
|
|
# Admin Account
|
|
ADMIN_USER=
|
|
ADMIN_PASS=
|
|
|
|
# JWT Secrets
|
|
ACCESS_SECRET=
|
|
REFRESH_SECRET=
|
|
|
|
# Gemini API Key
|
|
JEMINI_KEY=
|