You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I'm not sure this is the right place, but I'm trying to run a pre-made docker image. There is a well known permissions issue with it as described in the documentation.
In the logs I see I'm getting this error, but I can't figure out how to chown directory / volume using CDK. Below is an example code of my setup. Any ideas? Is it possible?
const redisinsightServerTaskDef = new cdk.aws_ecs.FargateTaskDefinition(
this,
"RedisInsight-Server-Taskdef",
{
memoryLimitMiB: 2048, // Default is 512
cpu: 512, // Default is 256
}
);
redisinsightServerTaskDef.addContainer("RedisInsight-Server-Container", {
image: cdk.aws_ecs.ContainerImage.fromRegistry("redislabs/redisinsight:latest"),
environment: {
RIPORT: "80",
},
});
// Create a standard Fargate service
const redisinsightServerService = new cdk.aws_ecs.FargateService(
this,
"RedisInsight-Server-Service",
{
cluster: cluster, // Required
serviceName: "RedisInsight-Server",
taskDefinition: redisinsightServerTaskDef,
assignPublicIp: true,
}
);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi. I'm not sure this is the right place, but I'm trying to run a pre-made docker image. There is a well known permissions issue with it as described in the documentation.
In the logs I see I'm getting this error, but I can't figure out how to chown directory / volume using CDK. Below is an example code of my setup. Any ideas? Is it possible?
Beta Was this translation helpful? Give feedback.
All reactions