Skip to content

docker-compose.yaml doesnt work with docker-compose v2.12.2 #835

@nelsonq

Description

@nelsonq

Step 1: Are you in the right place?

  • For issues or feature requests related to the code in this repository file a Github issue.
  • For issues relating to EP-Commerce, or Cloud Ops in relation to the reference store please Open a Support ticket.

Step 2: Describe your environment

Issues submitted without sufficient information will be rejected.
  • Device: _____
  • OS version: Linux 5.4.196-108.356.amzn2.x86_64
  • Storefront pulled version: master
  • Node version:
  • Docker version: Docker version 20.10.13, build a224086
  • Docker Compose version: Docker Compose version v2.12.2

Step 3: Describe the problem:

Steps to reproduce:

  1. aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 348298988472.dkr.ecr.us-west-2.amazonaws.com
  2. pull the ep-store image
  3. clone this project
  4. docker-compose up -d from docker/prod folder

Observed Results:

(root) Additional property web is not allowed

Expected Results:

web service starts properly

Relevant Code:

Looks like current docker compose yaml file is incompatible with version v2.12.2 of docker compose

Need to modify the file and add services segment at top to work.
https://stackoverflow.com/a/71029776/5199249

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions