Switched to default port 8080
All checks were successful
release-tag / release-image (push) Successful in 1m35s
build-binaries / build (, amd64, linux) (push) Has been skipped
build-binaries / build (, arm, 7, linux) (push) Has been skipped
build-binaries / build (, arm64, linux) (push) Has been skipped
build-binaries / build (.exe, amd64, windows) (push) Has been skipped
build-binaries / release (push) Has been skipped

This commit is contained in:
2025-09-06 20:28:17 +02:00
parent 67269fd91e
commit bbc1a53a8a
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ FROM alpine:3.22
RUN apk add --no-cache ca-certificates
COPY --from=builder /bin/vcg /bin/vcg
# Default listens on :8090 siehe main.go
EXPOSE 8090
EXPOSE 8080
# Environment defaults; können per compose überschrieben werden
ENV PWGEN_LENGTH=14 \
@@ -46,7 +46,7 @@ PWGEN_SEND_METHOD="POST" \
PWGEN_DRY_RUN=false \
PWGEN_TIMEOUT="" \
PWGEN_WEB=true \
PWGEN_WEB_ADDR=":8090" \
PWGEN_WEB_ADDR=":8080" \
PWGEN_WEB_USER="" \
PWGEN_WEB_PASS=""

View File

@@ -147,7 +147,7 @@ func parseEnv() options {
opt.webEnabled = getenvBool("PWGEN_WEB", true)
// Use a different default port than the VC server to avoid conflicts
opt.webAddr = getenvStr("PWGEN_WEB_ADDR", ":8090")
opt.webAddr = getenvStr("PWGEN_WEB_ADDR", ":8080")
opt.webUser = getenvStr("PWGEN_WEB_USER", "")
opt.webPass = getenvStr("PWGEN_WEB_PASS", "")
return opt