Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Use expose instead of ports to avoid conflicts with the openpai service on master node. #168

@siaimes

Description

@siaimes

On the master node, ports 5432 and 3000 are binded by openpai. I have been exploring the Internet for a long time before finding a solution. This solution needs to modify the Postgres port declaration to expose instead of ports in docker-compose.yml.

Before

    ports:
      - "5432:5432"

After

    expose:
      - "5432"

For more details, please refer to my Github repository siaimes/openpaimarketplace .

Metadata

Metadata

Assignees

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