The ecs-cli compose service up command deploys a Docker compose file to a cluster. The command may optionally be parameterized with the command options discussed in this table:
Parameter |
Description |
Default value |
--project-name |
Project name |
The current directory |
--ecs-params |
ECS params file to use |
The ecs-params.yml in the current directory |
--create-log-groups |
Creates CloudWatch Log groups for container logs |
|
--file |
Docker compose file |
The docker-compose.yml file in the current directory |
Run the following command in which the --project-name and --create-log-groups options are used. We don’t need to use the other options, as the required files are in the ...