Change default port of Poseidon to 7200

This commit is contained in:
Felix Auringer
2021-04-30 08:57:10 +02:00
committed by Jan-Eric Hellenberg
parent c497e2f19c
commit 7a2f434171
4 changed files with 5 additions and 5 deletions

View File

@ -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"]

View File

@ -28,7 +28,7 @@ job "${NOMAD_SLUG}" {
mode = "bridge" mode = "bridge"
port "http" { port "http" {
to = 3000 to = 7200
} }
} }

View File

@ -19,7 +19,7 @@ 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: "",

View File

@ -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