diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/smparkin.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/smparkin.xcuserdatad/UserInterfaceState.xcuserstate index 42b16a1..d52933b 100644 Binary files a/.swiftpm/xcode/package.xcworkspace/xcuserdata/smparkin.xcuserdatad/UserInterfaceState.xcuserstate and b/.swiftpm/xcode/package.xcworkspace/xcuserdata/smparkin.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Sources/App/configure.swift b/Sources/App/configure.swift index c568480..746898b 100644 --- a/Sources/App/configure.swift +++ b/Sources/App/configure.swift @@ -10,9 +10,6 @@ public func configure(_ app: Application) throws { app.middleware.use(FileMiddleware(publicDirectory: app.directory.publicDirectory)) app.middleware.use(ErrorMiddleware.default(environment: app.environment)) - //port - app.http.server.configuration.port = 8080 - //routes try routes(app) } diff --git a/docker-compose.yml b/docker-compose.yml index e7fbc9f..c46e129 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,6 +25,6 @@ services: environment: <<: *shared_environment ports: - - '8080:8080' + - '8888:8888' # user: '0' # uncomment to run as root for testing purposes even though Dockerfile defines 'vapor' user. - command: ["serve", "--env", "production", "--hostname", "0.0.0.0", "--port", "8080"] + command: ["serve", "--env", "production", "--hostname", "0.0.0.0", "--port", "8888"]