1

I'd like to deploy a docker-compose.yml file to AWS Fargate with access to persistent storage. The official documentation includes a Fargate tutorial that defines a task with docker compose, but without persistent storage, while a separate tutorial on how to mount an EFS defines a task with json, but without a corresponding example in docker compose. Essentially, I'm looking to do what the second tutorial does with the tools from the first tutorial.

The most relevant question/answers here provide further examples that mount EFS persistent storage in Fargate, but in json format. I'm committed to docker-compose in anticipation of Docker's integration with ECS (currently in beta), but am otherwise open to suggestions.

Aboottogo
  • 335
  • 3
  • 9

0 Answers0