feat: Change default port to avoid using existing port

This commit is contained in:
oSumAtrIX
2024-06-06 02:47:00 +02:00
parent 9d7b049349
commit 9825865bbc
2 changed files with 2 additions and 2 deletions

View File

@@ -9,5 +9,5 @@ services:
environment: environment:
- COMMAND=start - COMMAND=start
ports: ports:
- localhost:8080:8080 - localhost:8888:8888
restart: unless-stopped restart: unless-stopped

View File

@@ -26,7 +26,7 @@ internal object StartAPICommand : Runnable {
description = ["The port to listen on."], description = ["The port to listen on."],
showDefaultValue = CommandLine.Help.Visibility.ALWAYS, showDefaultValue = CommandLine.Help.Visibility.ALWAYS,
) )
private var port: Int = 8080 private var port: Int = 8888
override fun run() { override fun run() {
embeddedServer(Jetty, port, host) { embeddedServer(Jetty, port, host) {