mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-23 14:50:42 +01:00
* Add port 19999 to bitcoin-s-server exposed ports, Add port 19999 to documentation * Get docker containers working correctly with websockets Co-authored-by: Ivan <erickson.ivan@gmail.com>
24 lines
899 B
Scala
24 lines
899 B
Scala
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, 19999)
|
|
|
|
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")
|