Update nightly Docker image
[skip ci] Signed-off-by: Neil Twigg <neil@nats.io>
This commit is contained in:
@@ -39,7 +39,6 @@ ARG TARGETARCH
|
||||
|
||||
RUN apk add --no-cache tzdata
|
||||
|
||||
COPY ./nats-server/docker/nats-server.conf /nats/conf/nats-server.conf
|
||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
COPY --from=builder /src/out/$TARGETOS/$TARGETARCH/nats-server /bin/nats-server
|
||||
COPY --from=builder /src/out/$TARGETOS/$TARGETARCH/nats /bin/nats
|
||||
@@ -48,4 +47,3 @@ COPY --from=builder /src/out/$TARGETOS/$TARGETARCH/nsc /bin/nsc
|
||||
EXPOSE 4222 8222 6222 5222
|
||||
|
||||
ENTRYPOINT ["/bin/nats-server"]
|
||||
CMD ["-c", "/nats/conf/nats-server.conf"]
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
|
||||
# Client port of 4222 on all interfaces
|
||||
port: 4222
|
||||
|
||||
# HTTP monitoring port
|
||||
monitor_port: 8222
|
||||
|
||||
# This is for clustering multiple servers together.
|
||||
cluster {
|
||||
|
||||
# Route connections to be received on any interface on port 6222
|
||||
port: 6222
|
||||
|
||||
# Routes are protected, so need to use them with --routes flag
|
||||
# e.g. --routes=nats-route://ruser:T0pS3cr3t@otherdockerhost:6222
|
||||
authorization {
|
||||
user: ruser
|
||||
password: T0pS3cr3t
|
||||
timeout: 2
|
||||
}
|
||||
|
||||
# Routes are actively solicited and connected to from this server.
|
||||
# This Docker image has none by default, but you can pass a
|
||||
# flag to the nats-server docker image to create one to an existing server.
|
||||
routes = []
|
||||
}
|
||||
Reference in New Issue
Block a user