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
COPY poseidon /home/api/
EXPOSE 3000
EXPOSE 7200
CMD ["/home/api/poseidon"]

View File

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

View File

@ -18,8 +18,8 @@ import (
var (
Config = &configuration{
Server: server{
Address: "127.0.0.1",
Port: 3000,
Address: "127.0.0.1",
Port: 7200,
Token: "",
TLS: false,
CertFile: "",

View File

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