-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpsql-admin-dev.json
More file actions
32 lines (32 loc) · 931 Bytes
/
psql-admin-dev.json
File metadata and controls
32 lines (32 loc) · 931 Bytes
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
{
"family": "psql-admin-dev",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "256",
"memory": "512",
"executionRoleArn": "arn:aws:iam::916055948674:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "psql",
"image": "postgres:15",
"essential": true,
"environment": [
{ "name": "PGPASSWORD", "value": "Exby1979$" }
],
"command": [
"sh",
"-lc",
"psql \"host=quantumauth-db-dev.cluster-cv8sqeayens4.us-east-2.rds.amazonaws.com user=qa_admin dbname=postgres sslmode=require\" -c 'CREATE DATABASE \"quantumauth-db\";'"
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/psql-admin-dev",
"awslogs-region": "us-east-2",
"awslogs-stream-prefix": "ecs",
"awslogs-create-group": "true"
}
}
}
]
}