-
Notifications
You must be signed in to change notification settings - Fork 0
/
task-definition.json
141 lines (141 loc) · 6.32 KB
/
task-definition.json
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"containerDefinitions": [
{
"name": "pickle-container",
"image": "122971469363.dkr.ecr.ap-northeast-2.amazonaws.com/pickle:latest",
"cpu": 0,
"portMappings": [
{
"name": "pickle-container-8080-tcp",
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"environment": [],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"secrets": [
{
"name": "MYSQL_HOST",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:MYSQL_HOST::"
},
{
"name": "MYSQL_DB_NAME",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:MYSQL_DB_NAME::"
},
{
"name": "MYSQL_USERNAME",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:MYSQL_USERNAME::"
},
{
"name": "MYSQL_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:MYSQL_PASSWORD::"
},
{
"name": "JWT_ACCESS_TOKEN",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:JWT_ACCESS_TOKEN::"
},
{
"name": "JWT_REFRESH_TOKEN",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:JWT_REFRESH_TOKEN::"
},
{
"name": "JWT_ACCESS_TOKEN_EXPIRATION_TIME",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:JWT_ACCESS_TOKEN_EXPIRATION_TIME::"
},
{
"name": "JWT_REFRESH_TOKEN_EXPIRATION_TIME",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:JWT_REFRESH_TOKEN_EXPIRATION_TIME::"
},
{
"name": "JWT_ISSUER",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:JWT_ISSUER::"
},
{
"name": "KAKAO_CLIENT_ID",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:KAKAO_CLIENT_ID::"
},
{
"name": "KAKAO_CLIENT_SECRET",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:KAKAO_CLIENT_SECRET::"
},
{
"name": "KAKAO_CLIENT_REDIRECT_URI",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:KAKAO_CLIENT_REDIRECT_URI::"
},
{
"name": "KAKAO_CLIENT_GRANT_TYPE",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:KAKAO_CLIENT_GRANT_TYPE::"
},
{
"name": "AWS_BUCKET",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:AWS_BUCKET::"
},
{
"name": "AWS_ENDPOINT",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:AWS_ENDPOINT::"
},
{
"name": "AWS_ACCESS_KEY",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:AWS_ACCESS_KEY::"
},
{
"name": "AWS_SECRET_KEY",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:AWS_SECRET_KEY::"
},
{
"name": "FAST_API_SERVER_URL",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:FAST_API_SERVER_URL::"
},
{
"name": "FAST_API_SERVER_ENDPOINT",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:FAST_API_SERVER_ENDPOINT::"
},
{
"name": "FCM_CERTIFICATION",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:FCM_CERTIFICATION::"
},
{
"name": "REDIS_HOST",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:REDIS_HOST::"
},
{
"name": "REDIS_PORT",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:122971469363:secret:playauto/gmp-2dXhTZ:REDIS_PORT::"
}
],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/pickle-family",
"awslogs-create-group": "true",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
},
"secretOptions": []
},
"systemControls": []
}
],
"family": "pickle-task-definition",
"taskRoleArn": "arn:aws:iam::122971469363:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::122971469363:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"volumes": [],
"placementConstraints": [],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "1024",
"memory": "3072",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
},
"tags": []
}