-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
40 lines (33 loc) · 1.8 KB
/
.env.example
File metadata and controls
40 lines (33 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# =============================================================================
# labcode-log-server 環境変数設定ファイル
# =============================================================================
# このファイルを .env にコピーして使用してください:
# cp .env.example .env
#
# ローカルモード(S3不使用)で動作させる場合は .env.local を使用してください:
# cp .env.local .env
# =============================================================================
# -----------------------------------------------------------------------------
# ストレージ設定
# -----------------------------------------------------------------------------
# ストレージモード: "s3" または "local" を選択
# - s3: AWS S3にログを保存(本番環境向け)
# - local: ローカルファイルシステムに保存(開発環境向け)
# STORAGE_MODE=s3
# ローカルストレージパス(STORAGE_MODE=local の場合のみ使用)
# LOCAL_STORAGE_PATH=/data/storage
# -----------------------------------------------------------------------------
# AWS S3 設定(STORAGE_MODE=s3 の場合に必須)
# -----------------------------------------------------------------------------
# AWS Management Console から取得してください
# https://console.aws.amazon.com/iam/home#/security_credentials
# AWS アクセスキーID
AWS_ACCESS_KEY_ID=your-aws-access-key-id
# AWS シークレットアクセスキー
AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key
# AWS リージョン
# 例: ap-northeast-1(東京), ap-southeast-2(シドニー), us-east-1(バージニア)
AWS_DEFAULT_REGION=ap-northeast-1
# S3 バケット名
# 事前にS3コンソールでバケットを作成しておく必要があります
S3_BUCKET_NAME=your-bucket-name