File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ dependencies {
3030 implementation(" org.springframework.boot:spring-boot-starter-websocket" )
3131 implementation(" org.springframework.boot:spring-boot-starter-validation" )
3232 implementation(" org.springframework.boot:spring-boot-starter-mail" )
33+ implementation(" org.springframework.boot:spring-boot-starter-actuator" )
3334
3435 // Database & JPA
3536 implementation(" org.springframework.boot:spring-boot-starter-data-jpa" )
Original file line number Diff line number Diff line change @@ -194,6 +194,14 @@ sudo mkswap /swapfile
194194sudo swapon /swapfile
195195sudo sh -c 'echo "/swapfile swap swap defaults 0 0" >> /etc/fstab'
196196
197+ # 환경변수 세팅(/etc/environment)
198+ echo "PASSWORD=${ var . password_1 } " >> /etc/environment
199+ echo "DOMAIN=${ var . catfe_domain_1 } " >> /etc/environment
200+ echo "GITHUB_ACCESS_TOKEN_OWNER=${ var . github_access_token_1_owner } " >> /etc/environment
201+ ehco "GITHUB_ACCESS_TOKEN=${ var . github_access_token_1 } " >> /etc/environment
202+ # EC2 환경변수 등록
203+ source /etc/environment
204+
197205# 도커 설치 및 실행/활성화
198206yum install docker -y
199207systemctl enable docker
Original file line number Diff line number Diff line change 1+ variable "catfe_domain_1" {
2+ description = " api.catfe.site"
3+ }
You can’t perform that action at this time.
0 commit comments