Skip to content

Commit 1b6957e

Browse files
authored
환경변수 예제 추가 (#210)
feat: github 환경 변수 설정을 위해 필요한 정보 .env.example로 설정
1 parent 30fcba2 commit 1b6957e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

packages/.env.example

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# MySQL 설정
2+
MYSQL_HOST=your-mysql-host
3+
MYSQL_PORT=3306
4+
MYSQL_USER=your-mysql-username
5+
MYSQL_PASSWORD=your-mysql-password
6+
MYSQL_DATABASE=your-mysql-database
7+
8+
# MongoDB 설정
9+
MONGO_HOST=your-mongo-host
10+
MONGO_USER=your-mongo-username
11+
MONGO_PASSWORD=your-mongo-password
12+
MONGO_DB=your-mongo-database
13+
14+
# Redis 설정 (추가된 telnet 기반 체크를 위해 필요)
15+
REDIS_HOST=your-redis-host
16+
REDIS_PORT=6379
17+
18+
# 기타 설정
19+
DATABASE_HOST=your-database-host
20+
LOG_LEVEL=info
21+
22+
# GitHub Actions에 필요한 설정
23+
SERVER_HOST=your-server-ip
24+
SERVER_USER=your-server-username
25+
SERVER_SSH_PORT=22
26+
SSH_KEY=your-ssh-private-key-content
27+
ENV_FILE_CONTENTS=$(cat .env) # GitHub Secrets로 저장된 ENV 파일 내용

0 commit comments

Comments
 (0)