a build and deploy tool based on docker and docker-compose
-
Compile & package: cd to project folder and run
sbt clean compile assembly
-
Get the executable jar
cp target/scala-${scala-version}/source-compose-assembly-1.0.jar .
-
Envirement setting:
COMPOSE_WORKSPACE=${folder_where_your_projects_located}
-
Created your project files with docker-compose format.
-
java -jar source-compose-assembly-1.0.jar
-
alternative, you can make the executable file more elegant under shell like command lines
cat scompose.sh source-compose-assembly-1.0.jar > scompose then sh scompose