diff --git a/conf/lila-fishnet.conf b/conf/lila-fishnet.conf deleted file mode 100644 index 7db12d19..00000000 --- a/conf/lila-fishnet.conf +++ /dev/null @@ -1,43 +0,0 @@ -http.port = 9665 -https.port = disabled -redis.uri = "redis://redis" - -akka { - loggers = ["akka.event.slf4j.Slf4jLogger"] - loglevel = "DEBUG" - logging-filter = "akka.event.slf4j.Slf4jLoggingFilter" -} - -play { - server.pidfile.path=/dev/null - pidfile.path=/dev/null - mode = prod - application.loader = "lila.app.AppLoader" - server.netty.transport = "native" - http.secret.key="T6CNiunfamFP5ZCmxC8sSrtwICGOa6XKx9N0txhKiAIR94AJPAdHZ12xVXQwAq5a" -} - -kamon { - enabled = false - environment.service = "lila-fishnet" - metric.tick-interval = 60 seconds - influxdb { - hostname = "" - port = 8086 - database = "kamon" - percentiles = [50.0, 75.0, 90.0, 95.0, 99.0, 99.9] - protocol = "http" - post-empty-distributions = true - precision = "s" - environment-tags { - include-service = yes - include-host = yes - include-instance = yes - } - } - modules { - jvm-metrics.enabled = yes - process-metrics.enabled = yes - host-metrics.enabled = no - } -} diff --git a/docker-compose.yml b/docker-compose.yml index 1a8f77f7..0f8fbe99 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -107,7 +107,6 @@ services: - lila-network volumes: - ./repos/lila-fishnet:/lila-fishnet - - ./conf/lila-fishnet.conf:/lila-fishnet/conf/application.conf profiles: - stockfish-play diff --git a/docker/lila-fishnet.Dockerfile b/docker/lila-fishnet.Dockerfile index fd26cfb8..aef94602 100644 --- a/docker/lila-fishnet.Dockerfile +++ b/docker/lila-fishnet.Dockerfile @@ -2,4 +2,5 @@ FROM sbtscala/scala-sbt:eclipse-temurin-focal-17.0.8.1_1_1.9.7_3.3.1 WORKDIR /lila-fishnet -ENTRYPOINT sbt run -Dhttp.port=9665 +ENTRYPOINT sbt stage && \ + ./target/universal/stage/bin/lila-fishnet -Dhttp.port=9665 -Dredis.uri="redis://redis"