# Example Akka HTTP server configuration akka { loglevel = "INFO" actor { provider = "akka.actor.LocalActorRefProvider" default-dispatcher { type = "Dispatcher" executor = "fork-join-executor" fork-join-executor { parallelism-min = 2 parallelism-factor = 2.0 parallelism-max = 10 } throughput = 100 } } http { server { server-header = "Akka HTTP ${akka.http.version}" idle-timeout = 60 s request-timeout = 20 s max-connections = 1024 pipelining-limit = 1 remote-address-header = on } client { connecting-timeout = 10s idle-timeout = 60 s } host-connection-pool { max-connections = 4 min-connections = 0 max-open-requests = 32 } } } # Application configuration app { name = "example-service" version = "1.0.0" database { url = "jdbc:postgresql://localhost:5432/mydb" driver = "org.postgresql.Driver" connection-pool { initial-size = 5 max-size = 20 connection-timeout = 30 seconds } } api { host = "0.0.0.0" host = ${?API_HOST} port = 8080 port = ${?API_PORT} } }