Files
keinasystem/.env.production.example
Akira da2154ddca 本番デプロイ用設定ファイルを追加
- backend/Dockerfile.prod: gunicorn で起動する本番用 Dockerfile
- frontend/Dockerfile.prod: マルチステージビルドの本番用 Dockerfile
- docker-compose.prod.yml: Traefik 連携・本番用 compose 設定
  - main.keinafarm.net でフロントエンド・バックエンドを公開
  - /api/ はバックエンド(priority=10)、それ以外はフロントエンド(priority=5)
- .env.production.example: 本番環境変数のサンプル
- settings.py: ALLOWED_HOSTS・CORS_ALLOWED_ORIGINS を環境変数から設定可能に

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-24 14:32:12 +09:00

8 lines
426 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 本番環境用の環境変数サンプル
# サーバー上で .env.production としてコピーして値を設定してください
# このファイル自体は git にコミットして OK値は入れない
DB_PASSWORD=ここにDBパスワードを設定
SECRET_KEY=ここにDjangoのSECRET_KEYを設定50文字以上のランダム文字列
MAIL_API_KEY=ここにWindmillとの連携用APIキーを設定