bitcoin-s/app/server/server.sbt

25 lines
892 B
Text
Raw Normal View History

name := "bitcoin-s-server"
// Ensure actor system is shut down
// when server is quit
Compile / fork := true
libraryDependencies ++= Deps.server.value
mainClass := Some("org.bitcoins.server.BitcoinSServerMain")
packageSummary := "A Bitcoin neutrino node and wallet"
packageDescription := "Runs a Bitcoin neutrino node and wallet, has functionality " +
"for many different modes and configuration options, see more at https://bitcoin-s.org/docs/applications/server"
dockerExposedPorts ++= Seq(9999)
dockerEntrypoint := Seq("/opt/docker/bin/bitcoin-s-server")
//this passes in our default configuration for docker
//you can override this by passing in a custom configuration
//when the docker container is started by using bind mount
//https://docs.docker.com/storage/bind-mounts/#start-a-container-with-a-bind-mount
dockerCmd ++= Seq("--conf", "/opt/docker/docker-application.conf")