초기 커밋
This commit is contained in:
56
.env.example
Normal file
56
.env.example
Normal file
@@ -0,0 +1,56 @@
|
||||
# ── Application ──────────────────────────────────────
|
||||
APP_NAME=core-api
|
||||
APP_ENV=development
|
||||
DEBUG=true
|
||||
SECRET_KEY=change-me-to-a-random-secret-key
|
||||
API_V1_PREFIX=/api/v1
|
||||
|
||||
# ── MariaDB ─────────────────────────────────────────
|
||||
MARIADB_HOST=127.0.0.1
|
||||
MARIADB_PORT=3306
|
||||
MARIADB_USER=root
|
||||
MARIADB_PASSWORD=changeme
|
||||
MARIADB_DATABASE=core_api
|
||||
|
||||
# ── MongoDB ─────────────────────────────────────────
|
||||
MONGODB_URL=mongodb://127.0.0.1:27017
|
||||
MONGODB_DATABASE=core_api
|
||||
|
||||
# ── Redis ───────────────────────────────────────────
|
||||
REDIS_URL=redis://127.0.0.1:6379/0
|
||||
|
||||
# ── JWT ─────────────────────────────────────────────
|
||||
JWT_SECRET_KEY=change-me-jwt-secret
|
||||
JWT_ALGORITHM=HS256
|
||||
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
|
||||
JWT_REFRESH_TOKEN_EXPIRE_DAYS=7
|
||||
|
||||
# ── MQTT ────────────────────────────────────────────
|
||||
MQTT_HOST=127.0.0.1
|
||||
MQTT_PORT=1883
|
||||
MQTT_USERNAME=
|
||||
MQTT_PASSWORD=
|
||||
|
||||
# ── Celery ──────────────────────────────────────────
|
||||
CELERY_BROKER_URL=redis://127.0.0.1:6379/1
|
||||
CELERY_RESULT_BACKEND=redis://127.0.0.1:6379/2
|
||||
|
||||
# ── CORS ────────────────────────────────────────────
|
||||
CORS_ORIGINS=["http://localhost:3000","http://localhost:8080"]
|
||||
|
||||
# ── OAuth ───────────────────────────────────────────
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
KAKAO_CLIENT_ID=
|
||||
KAKAO_CLIENT_SECRET=
|
||||
NAVER_CLIENT_ID=
|
||||
NAVER_CLIENT_SECRET=
|
||||
|
||||
# ── SMTP (Email) ────────────────────────────────────
|
||||
SMTP_HOST=smtp.gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USERNAME=
|
||||
SMTP_PASSWORD=
|
||||
|
||||
# ── Logging ─────────────────────────────────────────
|
||||
LOG_LEVEL=DEBUG
|
||||
Reference in New Issue
Block a user