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