1
+ {
2
+ "requiresCompatibilities" : [
3
+ " FARGATE"
4
+ ],
5
+ "inferenceAccelerators" : [],
6
+ "containerDefinitions" : [
7
+ {
8
+ "name" : " db" ,
9
+ "image" : " mysql:5" ,
10
+ "memoryReservation" : " 128" ,
11
+ "resourceRequirements" : null ,
12
+ "essential" : true ,
13
+ "portMappings" : [
14
+ {
15
+ "containerPort" : " 3306" ,
16
+ "protocol" : " tcp"
17
+ }
18
+ ],
19
+ "environment" : [
20
+ {
21
+ "name" : " MYSQL_ROOT_PASSWORD" ,
22
+ "value" : " supersecretpassword"
23
+ },
24
+ {
25
+ "name" : " MYSQL_DATABASE" ,
26
+ "value" : " notes_app"
27
+ },
28
+ {
29
+ "name" : " MYSQL_USER" ,
30
+ "value" : " app"
31
+ },
32
+ {
33
+ "name" : " MYSQL_PASSWORD" ,
34
+ "value" : " secretpassword"
35
+ }
36
+ ],
37
+ "environmentFiles" : [],
38
+ "secrets" : null ,
39
+ "mountPoints" : null ,
40
+ "volumesFrom" : null ,
41
+ "hostname" : null ,
42
+ "user" : null ,
43
+ "workingDirectory" : null ,
44
+ "extraHosts" : null ,
45
+ "logConfiguration" : {
46
+ "logDriver" : " awslogs" ,
47
+ "options" : {
48
+ "awslogs-group" : " /ecs/spring-boot-db" ,
49
+ "awslogs-region" : " us-east-1" ,
50
+ "awslogs-stream-prefix" : " ecs"
51
+ }
52
+ },
53
+ "ulimits" : null ,
54
+ "dockerLabels" : null ,
55
+ "dependsOn" : null ,
56
+ "repositoryCredentials" : {
57
+ "credentialsParameter" : " "
58
+ }
59
+ }
60
+ ],
61
+ "volumes" : [],
62
+ "networkMode" : " awsvpc" ,
63
+ "memory" : " 512" ,
64
+ "cpu" : " 256" ,
65
+ "executionRoleArn" : " arn:aws:iam::597927635090:role/ecsTaskExecutionRole" ,
66
+ "family" : " spring-boot-db" ,
67
+ "tags" : []
68
+ }
0 commit comments