Change default port of Poseidon to 7200
This commit is contained in:

committed by
Jan-Eric Hellenberg

parent
c497e2f19c
commit
7a2f434171
@ -4,5 +4,5 @@ RUN adduser --disabled-password api
|
||||
USER api
|
||||
COPY poseidon /home/api/
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 7200
|
||||
CMD ["/home/api/poseidon"]
|
||||
|
@ -28,7 +28,7 @@ job "${NOMAD_SLUG}" {
|
||||
mode = "bridge"
|
||||
|
||||
port "http" {
|
||||
to = 3000
|
||||
to = 7200
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ var (
|
||||
Config = &configuration{
|
||||
Server: server{
|
||||
Address: "127.0.0.1",
|
||||
Port: 3000,
|
||||
Port: 7200,
|
||||
Token: "",
|
||||
TLS: false,
|
||||
CertFile: "",
|
||||
|
@ -3,7 +3,7 @@ server:
|
||||
# Address on which the webserver listens
|
||||
address: 127.0.0.1
|
||||
# Port on which the webserver listens
|
||||
port: 3000
|
||||
port: 7200
|
||||
# If set, this token is required in the X-Poseidon-Token header for each route except /health
|
||||
token: SECRET
|
||||
# If set, the API uses TLS for all incoming connections
|
||||
|
Reference in New Issue
Block a user