Created
May 30, 2019 21:59
-
-
Save bendubuisson/b5db915a64e5b365f5f22ba18b26aea1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"executionRoleArn": "arnOfTaskExecutionRole", | |
"containerDefinitions": [ | |
{ | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"options": { | |
"awslogs-group": "/ecs/run-app", | |
"awslogs-region": "aws_region", | |
"awslogs-stream-prefix": "ecs" | |
} | |
}, | |
"entryPoint": [], | |
"portMappings": [ | |
{ | |
"hostPort": 80, | |
"protocol": "tcp", | |
"containerPort": 80 | |
}, | |
{ | |
"hostPort": 443, | |
"protocol": "tcp", | |
"containerPort": 443 | |
} | |
], | |
"command": [], | |
"cpu": 0, | |
"environment": [ | |
{ | |
"name": "APP_DEBUG", | |
"value": "false" | |
}, | |
{ | |
"name": "APP_TIMEZONE", | |
"value": "Auckland/Pacific" | |
}, | |
{ | |
"name": "APP_ENV", | |
"value": "production" | |
}, | |
{ | |
"name": "APP_NAME", | |
"value": "our app" | |
}, | |
{ | |
"name": "DB_CONNECTION", | |
"value": "mysql" | |
}, | |
{ | |
"name": "DB_PORT", | |
"value": "3306" | |
}, | |
{ | |
"name": "CACHE_DRIVER", | |
"value": "redis" | |
}, | |
{ | |
"name": "QUEUE_CONNECTION", | |
"value": "redis" | |
}, | |
{ | |
"name": "SESSION_DRIVER", | |
"value": "redis" | |
}, | |
{ | |
"name": "AWS_DEFAULT_REGION", | |
"value": "aws_region" | |
}, | |
{ | |
"name": "MAIL_DRIVER", | |
"value": "mailgun" | |
}, | |
{ | |
"name": "MAILGUN_DOMAIN", | |
"value": "mailgun_domain" | |
}, | |
{ | |
"name": "SENTRY_LARAVEL_DSN", | |
"value": "https://yourSentry" | |
}, | |
{ | |
"name": "TELESCOPE_ENABLED", | |
"value": "true" | |
}, | |
{ | |
"name": "API_URL", | |
"value": "/api" | |
} | |
], | |
"repositoryCredentials": { | |
"credentialsParameter": "arnOfGitLabCredentialsStoredAsSecret" | |
}, | |
"secrets": [ | |
{ | |
"valueFrom": "OUR-APP_APP_KEY", | |
"name": "APP_KEY" | |
}, | |
{ | |
"valueFrom": "OUR-APP_DB_HOST", | |
"name": "DB_HOST" | |
}, | |
{ | |
"valueFrom": "OUR-APP_DB_PASSWORD", | |
"name": "DB_PASSWORD" | |
}, | |
{ | |
"valueFrom": "OUR-APP_DB_USERNAME", | |
"name": "DB_USERNAME" | |
}, | |
{ | |
"valueFrom": "OUR-APP_DB_DATABASE", | |
"name": "DB_DATABASE" | |
}, | |
{ | |
"valueFrom": "OUR-APP_REDIS_HOST", | |
"name": "REDIS_HOST" | |
}, | |
{ | |
"valueFrom": "OUR-APP_AWS_ACCESS_KEY_ID", | |
"name": "AWS_ACCESS_KEY_ID" | |
}, | |
{ | |
"valueFrom": "OUR-APP_AWS_SECRET_ACCESS_KEY", | |
"name": "AWS_SECRET_ACCESS_KEY" | |
}, | |
{ | |
"valueFrom": "OUR-APP_MAILGUN_SECRET", | |
"name": "MAILGUN_SECRET" | |
} | |
], | |
"mountPoints": [], | |
"volumesFrom": [], | |
"image": "our-gitlab-instance:4567/client/our-app/production:latest", | |
"links": [], | |
"name": "our-app" | |
} | |
], | |
"placementConstraints": [], | |
"memory": "2048", | |
"taskRoleArn": "arnOfTaskExecutionRole", | |
"family": "our-app", | |
"requiresCompatibilities": [ | |
"FARGATE" | |
], | |
"networkMode": "awsvpc", | |
"cpu": "1024", | |
"volumes": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment