Skip to content
This repository has been 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

Closed
siaimes opened this issue Dec 25, 2020 · 1 comment
Assignees

Comments

@siaimes
Copy link

siaimes commented Dec 25, 2020

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 .

@siaimes
Copy link
Author

siaimes commented Dec 31, 2020

Solved by this PR

@siaimes siaimes closed this as completed Dec 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants