Skip to content

Commit

Permalink
Change default port to 4580
Browse files Browse the repository at this point in the history
  • Loading branch information
UnAfraid committed Sep 30, 2024
1 parent 20a6191 commit fcbbab2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/app /app

EXPOSE 6060/tcp
EXPOSE 8080/tcp
EXPOSE 4580/tcp

ENTRYPOINT ["/app"]
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
volumes:
- './data:/var/lib/wg-ui'
ports:
- "8080:8080/tcp"
- "4580:4580/tcp"
- "51820:51820/udp"
sysctls:
net.ipv4.conf.all.src_valid_mark: 1
2 changes: 1 addition & 1 deletion pkg/config/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

type HttpServer struct {
Host string `default:""`
Port uint16 `default:"8080"`
Port uint16 `default:"4580"`
APQCacheEnabled bool `default:"false" split_words:"true"`
TracingEnabled bool `default:"false" split_words:"true"`
FrontendEnabled bool `default:"true" split_words:"true"`
Expand Down

0 comments on commit fcbbab2

Please sign in to comment.