outposts: don't map port 9300 on docker, only expose port
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
0aec504170
commit
ae07f13a87
|
@ -12,5 +12,4 @@ class LDAPDockerController(DockerController):
|
|||
self.deployment_ports = [
|
||||
DeploymentPort(389, "ldap", "tcp", 3389),
|
||||
DeploymentPort(636, "ldaps", "tcp", 6636),
|
||||
DeploymentPort(9300, "http-metrics", "tcp", 9300),
|
||||
]
|
||||
|
|
|
@ -14,7 +14,6 @@ class ProxyDockerController(DockerController):
|
|||
super().__init__(outpost, connection)
|
||||
self.deployment_ports = [
|
||||
DeploymentPort(9000, "http", "tcp"),
|
||||
DeploymentPort(9300, "http-metrics", "tcp"),
|
||||
DeploymentPort(9443, "https", "tcp"),
|
||||
]
|
||||
|
||||
|
|
|
@ -17,4 +17,6 @@ COPY --from=builder /go/ldap /
|
|||
|
||||
HEALTHCHECK CMD [ "wget", "--spider", "http://localhost:9300/akprox/ping" ]
|
||||
|
||||
EXPOSE 3389 6636 9300
|
||||
|
||||
ENTRYPOINT ["/ldap"]
|
||||
|
|
|
@ -29,4 +29,6 @@ COPY --from=builder /go/proxy /
|
|||
|
||||
HEALTHCHECK CMD [ "wget", "--spider", "http://localhost:9300/akprox/ping" ]
|
||||
|
||||
EXPOSE 9000 9300 9443
|
||||
|
||||
ENTRYPOINT ["/proxy"]
|
||||
|
|
Reference in New Issue