Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mashiike committed Jun 16, 2021
1 parent e93e2af commit 3f6e31d
Showing 1 changed file with 36 additions and 38 deletions.
74 changes: 36 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,46 +286,44 @@ As a usecase, Consider using ECS scheduled tasks.
example task definition
```json
{
"taskDefinition": {
"family": "mascaras",
"executionRoleArn": "<your execution role arn>",
"taskRoleArn": "<your task role arn",
"networkMode": "awsvpc",
"cpu": "256",
"memory": "512",
"containerDefinitions": [
{
"name": "mascaras",
"image": "ghcr.io/kayac/mascaras:latest",
"portMappings": [],
"essential": true,
"environment": [
{
"name": "MASCARAS_CONFIG",
"value": "<your mascaras config s3 url>"
}
],
"secrets": [
{
"name": "MASCARAS_DB_USER_NAME",
"valueFrom": "/MASCARAS_DB_USER_NAME"
},
{
"name": "MASCARAS_DB_USER_PASSWORD",
"valueFrom": "/MASCARAS_DB_USER_PASSWORD"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/docker/mascaras",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "mascaras"
}
"family": "mascaras",
"executionRoleArn": "<your execution role arn>",
"taskRoleArn": "<your task role arn",
"networkMode": "awsvpc",
"cpu": "256",
"memory": "512",
"containerDefinitions": [
{
"name": "mascaras",
"image": "ghcr.io/kayac/mascaras:latest",
"portMappings": [],
"essential": true,
"environment": [
{
"name": "MASCARAS_CONFIG",
"value": "<your mascaras config s3 url>"
}
],
"secrets": [
{
"name": "MASCARAS_DB_USER_NAME",
"valueFrom": "/MASCARAS_DB_USER_NAME"
},
{
"name": "MASCARAS_DB_USER_PASSWORD",
"valueFrom": "/MASCARAS_DB_USER_PASSWORD"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/docker/mascaras",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "mascaras"
}
}
]
}
}
]
}
```

Expand Down

0 comments on commit 3f6e31d

Please sign in to comment.