From 5291f9d030ad0b9df02112ca6b50eaa494db6adc Mon Sep 17 00:00:00 2001 From: Maksym Komar Date: Fri, 12 Jun 2020 19:46:56 +0000 Subject: [PATCH] Add workers count setting to awsdeploy.yml --- awsdeploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/awsdeploy.yml b/awsdeploy.yml index 91c64c1a..a94a73ea 100644 --- a/awsdeploy.yml +++ b/awsdeploy.yml @@ -95,6 +95,10 @@ Resources: - !Ref EMailHostPassword - |+ + - sudo tee -a /env.list <<< WORKERS= + - !Ref WorkersCount + - |+ + - | sudo docker pull doccano/doccano:latest - | @@ -276,6 +280,12 @@ Parameters: MinLength: 1 MaxLength: 5 AllowedPattern: '^\d+$' + WorkersCount: + Description: Workers Count + Type: String + MinLength: 1 + MaxLength: 3 + AllowedPattern: '^\d+$' Outputs: PublicDNS: Value: !GetAtt