diff --git a/bin/activate.sh b/bin/activate.sh index 0b3e2e02..cbdbb2a7 100644 --- a/bin/activate.sh +++ b/bin/activate.sh @@ -120,6 +120,10 @@ elif [[ "${DR_CLOUD,,}" == "remote" ]]; then DR_TRAIN_COMPOSE_FILE="$DR_DOCKER_FILE_SEP $DIR/docker/docker-compose-training.yml $DR_DOCKER_FILE_SEP $DIR/docker/docker-compose-endpoint.yml" DR_EVAL_COMPOSE_FILE="$DR_DOCKER_FILE_SEP $DIR/docker/docker-compose-eval.yml $DR_DOCKER_FILE_SEP $DIR/docker/docker-compose-endpoint.yml" DR_MINIO_COMPOSE_FILE="" +elif [[ "${DR_CLOUD,,}" == "aws" ]]; then + DR_LOCAL_PROFILE_ENDPOINT_URL="" + DR_TRAIN_COMPOSE_FILE="$DR_DOCKER_FILE_SEP $DIR/docker/docker-compose-training.yml $DR_DOCKER_FILE_SEP $DIR/docker/docker-compose-aws.yml" + DR_EVAL_COMPOSE_FILE="$DR_DOCKER_FILE_SEP $DIR/docker/docker-compose-eval.yml $DR_DOCKER_FILE_SEP $DIR/docker/docker-compose-aws.yml" else DR_LOCAL_PROFILE_ENDPOINT_URL="" DR_TRAIN_COMPOSE_FILE="$DR_DOCKER_FILE_SEP $DIR/docker/docker-compose-training.yml" diff --git a/docker/docker-compose-aws.yml b/docker/docker-compose-aws.yml new file mode 100644 index 00000000..4d2137c8 --- /dev/null +++ b/docker/docker-compose-aws.yml @@ -0,0 +1,11 @@ +version: '3.7' + +services: + rl_coach: + environment: + - AWS_METADATA_SERVICE_TIMEOUT=3 + - AWS_METADATA_SERVICE_NUM_ATTEMPTS=5 + robomaker: + environment: + - AWS_METADATA_SERVICE_TIMEOUT=3 + - AWS_METADATA_SERVICE_NUM_ATTEMPTS=5