Comments (3)
you probably wouldn't use Fargate for that. when you choose to use ECS, you take the configuration specified in your docker-compose.yml to populate your task definition. (eg. your docker volume maps to volumes.)
docker-compose isn't designed to control Fargate
from terraform-ecs-fargate.
Hey thank you for explanation. So, I should use ec2 launch type instead for this?
from terraform-ecs-fargate.
Hey @justinushermawan, my gut tells me that @borgified is probably right here and you may want to go with the EC2 launch type... Although after looking into it, it looks like docker-compose can be used with Fargate (ex: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-cli-tutorial-fargate.html) but I haven't ever tried it. On the same token Fargate only supports non-persistent storage volumes so I would imagine for your situation it still wouldn't be a viable option.
from terraform-ecs-fargate.
Related Issues (11)
- Use the port from the value instead of this hardcoded value? HOT 1
- Reference to undeclared resource HOT 3
- idempotency issue with role in aws_appautoscaling_target HOT 1
- When app_port is assigned to 80 it returns 502 Bad Gateway
- Next.js app keeps on refreshing after browser tab click HOT 1
- Why are these ports also hardcoded? Surely you can parameterise them? HOT 1
- Request to add a fixed dns name for the Cluster in Route53
- Docker container Environment Support HOT 1
- Suggest to Create Role by Terraform, Got: ClientException: Role is not valid HOT 3
- Repo is missing a license. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-ecs-fargate.