diff --git a/cmd/lanparty-fileserver/main.go b/cmd/lanparty-fileserver/main.go index e6a5cb0..73397f9 100644 --- a/cmd/lanparty-fileserver/main.go +++ b/cmd/lanparty-fileserver/main.go @@ -22,9 +22,9 @@ const ( preloadedDir = "./preloaded-games" uploadsDir = "./uploads" downloadsLogDir = "./downloads-log" - port = "8080" - defaultMaxUploadSizeMB = 100 // Default max upload size in Megabytes - envMaxUploadSizeMB = "MAX_UPLOAD_SIZE_MB" // Environment variable name + port = "80" + defaultMaxUploadSizeMB = 100 + envMaxUploadSizeMB = "MAX_UPLOAD_SIZE_MB" ) // effectiveMaxUploadSizeBytes will store the actual max upload size to be used, in bytes. diff --git a/compose.yml b/compose.yml index 1712b30..61ef899 100644 --- a/compose.yml +++ b/compose.yml @@ -1,6 +1,6 @@ services: lanparty-fileserver: - image: ghcr.io/r2unit/lanparty-fileserver:1 + image: ghcr.io/r2unit/lanparty-fileserver:1.0.0 container_name: lan-fileserver restart: unless-stopped ports: