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
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:
@@ -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=""
|
||||
|
||||
|
||||
2
main.go
2
main.go
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user