0
version: '3.4'
services:
  db:
    image: postgres:13
    ports:
      - "5432:5432"
    environment:
      - POSTGRES_DB=postgres
      - POSTGRES_PASSWORD=odoo
      - POSTGRES_USER=odoo
      - PGDATA=/var/lib/postgresql/data/db-files/
    volumes:
      - ./data/db:/var/lib/postgresql/data

  odoo:
    build: .
    depends_on:
      - db
    ports:
      - "8069:8069"
    volumes:
      - ./extra-addons:/mnt/custom-addons
      - ./data/odoo:/var/lib/odoo
    command: ["odoo","--dev","xml,reload"]

This is my docker-compose.yml file

When I use Ubuntu, it works. But when I use MacOS, it doesn't work. The problem is command: ["odoo","--dev","xml,reload"]. When I comment it, I can run on MacOS Please help me fix it

2
  • Probably it's not implemented on Mac? Commented Aug 16, 2022 at 8:18
  • Are you just trying to run a prepackaged application, or is this something you're actually developing? Can you edit the question to include the complete exception and the associated source code? Commented Aug 16, 2022 at 10:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.