You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# Stock Oracle Portainer 환경 변수
|
|
# 이 파일을 .env로 복사하여 사용하세요
|
|
|
|
# ===========================================
|
|
# 🔐 중요: 실제 배포 시 반드시 변경하세요!
|
|
# ===========================================
|
|
|
|
# SEC API 설정 (필수)
|
|
SEC_EMAIL=your-email@example.com
|
|
|
|
# Alpha Vantage API Key (선택사항)
|
|
ALPHA_VANTAGE_API_KEY=your_alpha_vantage_key
|
|
|
|
# 데이터베이스 설정
|
|
POSTGRES_DB=stock_oracle
|
|
POSTGRES_USER=stock_oracle_user
|
|
POSTGRES_PASSWORD=change_this_password_in_production
|
|
DATABASE_URL=postgresql+asyncpg://stock_oracle_user:change_this_password_in_production@postgres:5432/stock_oracle
|
|
|
|
# Redis 설정
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=change_this_redis_password
|
|
|
|
# API 설정
|
|
API_TITLE=Stock Oracle API
|
|
API_VERSION=1.0.0
|
|
DEBUG=false
|
|
|
|
# 시간대 설정
|
|
TZ=Asia/Seoul
|
|
|
|
# 포트 설정 (필요 시 변경)
|
|
POSTGRES_PORT=15433
|
|
REDIS_PORT=16380
|
|
API_PORT=18001
|
|
NGINX_HTTP_PORT=80
|
|
NGINX_HTTPS_PORT=443
|
|
|
|
# SSL 설정 (HTTPS 사용 시)
|
|
SSL_CERT_PATH=./nginx/ssl/cert.pem
|
|
SSL_KEY_PATH=./nginx/ssl/key.pem
|
|
|
|
# Portainer 관련 설정
|
|
COMPOSE_PROJECT_NAME=stock-oracle
|
|
COMPOSE_FILE=docker-compose.portainer.yml |