version: '3'
services:
  mongo:
    image: mongo
    ports:
    - 27017:27017

  web:
    build: .
    volumes:
      - .:/tomatoes
    entrypoint: ./docker-entrypoint.sh 
    ports:
      - 3000:3000
    depends_on:
      - mongo
    environment:
      - DO_HOST=mongo

version: '3'
services:
  mongo:
    image: mongo
    ports:
    - 27017:27017

  web:
    platform: linux/amd64
    build: .
    volumes:
      - .:/tomatoes
    entrypoint: ./docker-entrypoint.sh
    ports:
      - 3000:3000
    depends_on:
      - mongo
    environment:
      - DO_HOST=mongo

Use platform arm64 to make sure this works with Apple M1 macbooks
Use platform arm64 to make sure this works with Apple M1 macbooks
