From 20116b062c59fc77a42fd947f9b68696ea85198d Mon Sep 17 00:00:00 2001 From: Igor Serko Date: Tue, 1 Aug 2017 08:08:40 +0100 Subject: [PATCH] Added supported container environment variables into docs There was no mention of these settings anywhere, so it should be helpful to people. --- .gitignore | 4 ++++ procfile/README.md | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/.gitignore b/.gitignore index 2a8d72219..dcb6bbde0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,7 @@ build *.dump *.key *.cert + +# Emacs temporary files +\#*\# +.\#* diff --git a/procfile/README.md b/procfile/README.md index decab6dec..9fa8998e3 100644 --- a/procfile/README.md +++ b/procfile/README.md @@ -78,3 +78,12 @@ This allows you to set process specific environment variables. If these are set environment: EMPIRE_X_LOAD_BALANCER_TYPE: "alb" ``` + +Supported environment variables that can either be set via `emp set` for the whole application or +inside the `Procfile` for a specific process. + +Name | Default value | Available options | Description +-----|---------------|-------------------|------------ +`EMPIRE_X_LOAD_BALANCER_TYPE` | `elb` | `alb`, `elb`| Determines whether you will use an ALB or ELB +`EMPIRE_X_TASK_DEFINITION_TYPE` | not set | `custom` | Determines whether we use the Custom::ECSTaskDefinition (better explanation needed) +`EMPIRE_X_TASK_ROLE_ARN` | not set | any IAM role ARN | Sets the IAM role for that app/process. **Your ECS cluster MUST have Task Role support enabled before this can work!**