This repository was archived by the owner on Mar 7, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (40 loc) · 1.3 KB
/
Copy path.env.example
File metadata and controls
48 lines (40 loc) · 1.3 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
41
42
43
44
45
46
47
48
# ===========================================
# Autobiography API Environment Variables
# ===========================================
#
# 🚀 Quick Setup: Run './setup-config.sh' to auto-configure
# 📝 Manual Setup: Copy this file to .env and fill in your values
#
# Server Configuration
PORT=3000
NODE_ENV=development
# EC2 Configuration
EC2_IP={your-ec2-ip}
# Database Configuration (Local MariaDB/MySQL on EC2)
DB_HOST=localhost
DB_PORT=3306
DB_NAME=autobiography_db
DB_USER=root
DB_PASSWORD=your-secure-password
# AWS Configuration
# Get your region from: aws configure get region
AWS_REGION=ap-northeast-2
# AWS Services
# S3 bucket for storing generated images
S3_BUCKET_NAME={project-name}-images-{your-aws-account-id}
# AI Model Configuration
BEDROCK_MODEL_ID=anthropic.claude-3-sonnet-20240229-v1:0
# ECR Configuration (for deployment only)
ECR_REPOSITORY_URI={your-aws-account-id}.dkr.ecr.{your-region}.amazonaws.com/{project-name}
# ===========================================
# How to get these values:
# ===========================================
#
# AWS_ACCOUNT_ID: aws sts get-caller-identity --query Account --output text
# EC2_IP: AWS Console > EC2 > Instances > Public IPv4 address
#
# 🔐 Security Note:
# - Never commit .env file to git
# - Use strong passwords
# - Keep AWS credentials secure
#