Open jcquiles opened 1 year ago
Hi, I have 2 different suggestions
1) The environment variables may be isolated between the 2 containers. You have to define the env variable AWS_REGION
for the xray container as well.
2) If first option doesn't work, try changing /usr/bin/xray --local-mode -o
to /usr/bin/xray --local-mode -o -n us-east-2
Also, you do not need both --local-mode
and -o
, as they are both the same command line option
Hello I cant seem to figure out exactly what is being asked here. I am just trying to run a test locally to get a clear idea of how to get a django application configured with xray before even applying it to an ecs fargate cluster, which is the primary goal.
I tried setting credentials and region as environment variables locally and inside
.aws/credentials
but am still getting the same result. The container exits as soon as docker-compose file is ran.Here is the full error.
Here is the docker-compose file.
Is there another solution here if the problem is not the credentials? Thank you!