Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose file version 3.0 #20

Open
noahtrilling opened this issue Jul 29, 2019 · 3 comments
Open

docker-compose file version 3.0 #20

noahtrilling opened this issue Jul 29, 2019 · 3 comments

Comments

@noahtrilling
Copy link

This is a great project!

I'm just curious if there is a functional reason why the tutorial hasn't been updated to specify version 3 of the docker-compose files. I was able to remove the 'gateway' configuration of the credentials network (no longer honored in v3 of docker-compose) and the local container endpoint continued to vend my ECS task credentials perfectly. I was curious if other use cases aren't supported by the new docker-compose configuration schema or if the documentation is simply behind.

Thanks!

@PettitWesley
Copy link
Contributor

PettitWesley commented Jul 31, 2019

@noah-trilling All use cases will work with V3 Compose syntax.

@ryanpeterson
Copy link

The docker-compose files do not work "as-is" with version 3.
The first error that one will run into is documented here: docker/compose#4366

@PettitWesley PettitWesley reopened this Apr 8, 2020
@nickhammond
Copy link

Seeing the same thing here trying to configure a local ECS + fargate setup. Here's the section in the v3 compose documentation that mentions gateway is currently only supported on v2 - https://docs.docker.com/compose/compose-file/#enable_ipv6

Additional IPAM configurations, such as gateway, are only honored for version 2 at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants