Skip to content

Commit

Permalink
ECS task 환경변수 삽입 시도 6 - 하드코딩
Browse files Browse the repository at this point in the history
  • Loading branch information
KJJDSA committed Jul 15, 2023
1 parent e814d10 commit 0acc763
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions task-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,30 @@
}
],
"essential": true,
"environment": [],
"environmentFiles": [
"environment": [
{
"value": "arn:aws:s3:::animal-nest-env/.env",
"type": "s3"
"name": "DB_HOST",
"value": "animal.cpqe1vky0him.ap-northeast-2.rds.amazonaws.com"
},
{
"name": "DB_PORT",
"value": "3306"
},
{
"name": "DB_PW",
"value": "animalNest"
},
{
"name": "DB_SCHEMA",
"value": "anmalnest"
},
{
"name": "JWT_SECRET_KEY",
"value": "secreeeeeet"
},
{
"name": "DB_USER",
"value": "admin"
}
],
"mountPoints": [],
Expand Down

0 comments on commit 0acc763

Please sign in to comment.