Docker always expose port 3000 #1904
-
Environment
Description of issueI have two instances of postgrest. one of them do not use the 3000 port, but the port is still exposed.
|
Beta Was this translation helpful? Give feedback.
Answered by
colearendt
Aug 8, 2021
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
How are you running your containers? Why not build your
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
steve-chavez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How are you running your containers? Why not build your
pgrest_2
image using port 3000 too, and then port-map when you run the container? This is the usual pattern I have seen. Gets around the port collision neatly while allowing your containers to be built consistently 😄