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

Clients cannot access port 8072 #534

Open
kavin-lee opened this issue Dec 25, 2024 · 0 comments
Open

Clients cannot access port 8072 #534

kavin-lee opened this issue Dec 25, 2024 · 0 comments

Comments

@kavin-lee
Copy link

kavin-lee commented Dec 25, 2024

When the odoo17 image uses the following configuration, the client cannot access port 8072. As a result, Nginx keeps reporting errors.How to solve this problem?

nginx err:
upstream: "http://172.17.0.1:8072/websocket?version=17.0-1"
docker-compose.yml

version: '3.1'

services:
  web:
    image: odoo:17.0
    depends_on:
      - db
    ports:
      - "8069:8069"
      - "8072:8072"
    volumes:
      - ./odoo_web_data:/var/lib/odoo
      - ./config:/etc/odoo
      - ./addons:/mnt/extra-addons
      - ./logs:/var/log/odoo
    environment:
      - ODOO_DB_PASSWORD=odoo
    restart: on-failure

  db:
    image: postgres:15.0
    ports:
      - "5432:5432"
    environment:
      - POSTGRES_DB=postgres
      - POSTGRES_PASSWORD=odoo
      - POSTGRES_USER=odoo
      - PGDATA=/var/lib/postgresql/data/pgdata
    volumes:
      - ./odoo_db_data:/var/lib/postgresql/data
    restart: on-failure
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

1 participant