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