diff --git a/deployments/services-ecs/cache.yml b/deployments/services-ecs/cache.yml index 20db679..df5121f 100644 --- a/deployments/services-ecs/cache.yml +++ b/deployments/services-ecs/cache.yml @@ -9,10 +9,10 @@ Parameters: Type: String Default: cache Description: A name for the service - # ImageUrl: - # Type: String - # Description: The url of a docker image that contains the application process that - # will handle the traffic for this service + ImageUrl: + Type: String + Description: The url of a docker image that contains the application process that + will handle the traffic for this service ContainerCpu: Type: Number Default: 256 @@ -58,8 +58,8 @@ Resources: - Name: !Ref 'ServiceName' Cpu: !Ref 'ContainerCpu' Memory: !Ref 'ContainerMemory' - Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/microservices/${ServiceName}:latest - # Image: !Ref ImageUrl + # Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/microservices/${ServiceName}:latest + Image: !Ref ImageUrl LogConfiguration: LogDriver: 'awslogs' Options: diff --git a/deployments/services-ecs/database.yml b/deployments/services-ecs/database.yml index 66d147e..78e8c4f 100644 --- a/deployments/services-ecs/database.yml +++ b/deployments/services-ecs/database.yml @@ -9,10 +9,10 @@ Parameters: Type: String Default: database Description: A name for the service - # ImageUrl: - # Type: String - # Description: The url of a docker image that contains the application process that - # will handle the traffic for this service + ImageUrl: + Type: String + Description: The url of a docker image that contains the application process that + will handle the traffic for this service ContainerCpu: Type: Number Default: 256 @@ -58,8 +58,8 @@ Resources: - Name: !Ref 'ServiceName' Cpu: !Ref 'ContainerCpu' Memory: !Ref 'ContainerMemory' - Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/microservices/${ServiceName}:latest - # Image: !Ref ImageUrl + # Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/microservices/${ServiceName}:latest + Image: !Ref ImageUrl LogConfiguration: LogDriver: 'awslogs' Options: diff --git a/deployments/services-ecs/server.yml b/deployments/services-ecs/server.yml index c7f206e..a9ba40c 100644 --- a/deployments/services-ecs/server.yml +++ b/deployments/services-ecs/server.yml @@ -9,10 +9,10 @@ Parameters: Type: String Default: server Description: A name for the service - # ImageUrl: - # Type: String - # Description: The url of a docker image that contains the application process that - # will handle the traffic for this service + ImageUrl: + Type: String + Description: The url of a docker image that contains the application process that + will handle the traffic for this service ContainerPort: Type: Number Default: 80 @@ -74,8 +74,8 @@ Resources: - Name: !Ref 'ServiceName' Cpu: !Ref 'ContainerCpu' Memory: !Ref 'ContainerMemory' - Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/microservices/${ServiceName}:latest - # Image: !Ref ImageUrl + # Image: !Sub ${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/microservices/${ServiceName}:latest + Image: !Ref ImageUrl PortMappings: - ContainerPort: !Ref 'ContainerPort' LogConfiguration: